build with instruction set/tuning for atom processors

fix non-working hardening
This commit is contained in:
Kirill Zakharenko 2015-07-16 16:45:04 +02:00
parent 0d039e2676
commit 20b388973c
2 changed files with 4 additions and 2 deletions

2
debian/control vendored
View File

@ -3,7 +3,7 @@ Maintainer: Ivan Klyuchnikov <ivan.kluchnikov@fairwaves.ru>
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

4
debian/rules vendored
View File

@ -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
dh_strip --dbg-package=osmo-trx-dbg