From 20b388973c2f2031b4662e7075a6d12f80cf4c84 Mon Sep 17 00:00:00 2001 From: Kirill Zakharenko Date: Thu, 16 Jul 2015 16:45:04 +0200 Subject: [PATCH] build with instruction set/tuning for atom processors fix non-working hardening --- debian/control | 2 +- debian/rules | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 5bff49d2..d65cf1e1 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Maintainer: Ivan Klyuchnikov Section: net Priority: optional Standards-Version: 3.9.3 -Build-Depends: debhelper (>= 9), autotools-dev, libdbd-sqlite3, pkg-config, dh-autoreconf, uhd, umtrx-uhd, libusb-1.0-0-dev, libboost-all-dev +Build-Depends: debhelper (>= 9), autotools-dev, libdbd-sqlite3, pkg-config, dh-autoreconf, uhd, umtrx-uhd, libusb-1.0-0-dev, libboost-all-dev, hardening-wrapper Homepage: http://openbsc.osmocom.org/trac/wiki/OsmoTRX Vcs-Git: git://git.osmocom.org/osmo-trx Vcs-Browser: http://cgit.osmocom.org/osmo-trx diff --git a/debian/rules b/debian/rules index 87e9e45b..600dc4b9 100755 --- a/debian/rules +++ b/debian/rules @@ -2,6 +2,8 @@ export DEB_BUILD_HARDENING=1 +CFLAGS+="-march=atom -mtune=atom -O2" +CPPFLAGS+="-march=atom -mtune=atom -O2" %: dh $@ --with autoreconf @@ -10,4 +12,4 @@ override_dh_shlibdeps: dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info override_dh_strip: - dh_strip --dbg-package=osmo-trx-dbg \ No newline at end of file + dh_strip --dbg-package=osmo-trx-dbg