summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-06-12 19:27:59 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-06-12 19:33:39 (GMT)
commit288e643e80e15387abe115a27a6cee732167fe1f (patch)
treea41a80e39af87697b396c5ef4585344c5f55b2c2 /Swift/Packaging/Debian
parent7987183a24995056ef3581fcd61f464f5a491743 (diff)
downloadswift-contrib-288e643e80e15387abe115a27a6cee732167fe1f.zip
swift-contrib-288e643e80e15387abe115a27a6cee732167fe1f.tar.bz2
Use dpkg-buildflags for Debian build flags.
Diffstat (limited to 'Swift/Packaging/Debian')
-rwxr-xr-xSwift/Packaging/Debian/debian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Packaging/Debian/debian/rules b/Swift/Packaging/Debian/debian/rules
index d05e34a..e16465d 100755
--- a/Swift/Packaging/Debian/debian/rules
+++ b/Swift/Packaging/Debian/debian/rules
@@ -3,7 +3,7 @@
#export DH_VERBOSE=1
export PYTHONDONTWRITEBYTECODE=1
-SCONS_FLAGS=V=1 optimize=1 debug=1 allow_warnings=1 swiften_dll=1 qt=/usr/share/qt4 docbook_xsl=/usr/share/xml/docbook/stylesheet/docbook-xsl docbook_xml=/usr/share/xml/docbook/schema/dtd/4.5
+SCONS_FLAGS=V=1 optimize=1 debug=1 allow_warnings=1 swiften_dll=1 qt=/usr/share/qt4 docbook_xsl=/usr/share/xml/docbook/stylesheet/docbook-xsl docbook_xml=/usr/share/xml/docbook/schema/dtd/4.5 linkflags="$(shell dpkg-buildflags --get LDFLAGS)" ccflags="$(shell dpkg-buildflags --get CPPFLAGS) $(shell dpkg-buildflags --get CFLAGS)"
clean:
dh_testdir