diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2014-02-26 16:48:01 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2014-02-26 16:48:01 +0100 |
commit | faae49c640ee2d308d40bc5867d6ecbd80ac0fc1 (patch) | |
tree | d49a49f6c8142a1762a339a99396421a127cc146 /debian/patches/002-build-flags.patch | |
download | truecrypt-faae49c640ee2d308d40bc5867d6ecbd80ac0fc1.tar.gz truecrypt-faae49c640ee2d308d40bc5867d6ecbd80ac0fc1.tar.bz2 truecrypt-faae49c640ee2d308d40bc5867d6ecbd80ac0fc1.zip |
initial packaging based on http://www.unchartedbackwaters.co.uk/pyblosxom/static/truecrypt_debian_packaging
Diffstat (limited to 'debian/patches/002-build-flags.patch')
-rw-r--r-- | debian/patches/002-build-flags.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/002-build-flags.patch b/debian/patches/002-build-flags.patch new file mode 100644 index 0000000..ee7d233 --- /dev/null +++ b/debian/patches/002-build-flags.patch @@ -0,0 +1,16 @@ +Description: Fill build flags directly in Makefile +Author: Francis Russell <francis@unchartedbackwaters.co.uk> +--- a/Makefile 2012-02-07 10:36:48.000000000 +0000 ++++ b/Makefile 2013-01-13 23:19:51.593631914 +0000 +@@ -50,6 +50,11 @@ + export WXCONFIG_CXXFLAGS := + WX_ROOT ?= .. + ++CPPFLAGS+=$(shell dpkg-buildflags --get CPPFLAGS) ++CFLAGS+=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS) ++CXXFLAGS+=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS) ++LFLAGS+=$(shell dpkg-buildflags --get LDFLAGS) ++ + + export TC_BUILD_CONFIG := Release + |