diff options
author | jcorgan | 2009-05-15 15:07:46 +0000 |
---|---|---|
committer | jcorgan | 2009-05-15 15:07:46 +0000 |
commit | 9589f8ea3fad0c3fb557c36d3e9f29100e821115 (patch) | |
tree | 84d893134b8dba70a3cef77132dc78455be56ffa /debian/rules | |
parent | 7cda906274ab3e915d48eaa2534a3d5bba76019b (diff) | |
download | gnuradio-9589f8ea3fad0c3fb557c36d3e9f29100e821115.tar.gz gnuradio-9589f8ea3fad0c3fb557c36d3e9f29100e821115.tar.bz2 gnuradio-9589f8ea3fad0c3fb557c36d3e9f29100e821115.zip |
Merged wip r11012:11022 from jcorgan/deb into trunk.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11043 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/debian/rules b/debian/rules index db6bd9356..490617c8a 100755 --- a/debian/rules +++ b/debian/rules @@ -6,14 +6,6 @@ export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS -CFLAGS = -Wall -g - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif - clean: dh_testdir dh_testroot @@ -42,7 +34,7 @@ configure: configure-stamp configure-stamp: dh_testdir [ -f ./configure ] || ./bootstrap - CFLAGS="$(CFLAGS)" ./configure \ + ./configure LDFLAGS="-Wl,--as-needed" \ --prefix=/usr --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info --enable-shared \ --enable-doxygen --enable-html-docs \ @@ -111,6 +103,7 @@ binary-common: dh_shlibdeps dh_gencontrol dh_md5sums + mkdir -p ../debfiles dh_builddeb --destdir=../debfiles # Build architecture independant packages using the common target. |