summaryrefslogtreecommitdiff
path: root/Debian
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-12-08 18:27:44 -0400
committerJoey Hess <joey@kitenet.net>2011-12-08 18:27:44 -0400
commitc722e25aeb3ad55c3efa9e60503636939bed1bb2 (patch)
tree54e8786a0010f2d394a949a4aa57f79c4c67659f /Debian
parent2fda039fdf31d1807c7bcdb4b1ccf58607781a9a (diff)
Pass CPPFLAGS to qmake. Closes: #646129 Thanks, Felix Geyert
Diffstat (limited to 'Debian')
-rw-r--r--Debian/Debhelper/Buildsystem/qmake.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/Debian/Debhelper/Buildsystem/qmake.pm b/Debian/Debhelper/Buildsystem/qmake.pm
index 521013b..91e817f 100644
--- a/Debian/Debhelper/Buildsystem/qmake.pm
+++ b/Debian/Debhelper/Buildsystem/qmake.pm
@@ -54,12 +54,12 @@ sub configure {
push @options, '-nocache';
if ($ENV{CFLAGS}) {
- push @flags, "QMAKE_CFLAGS_RELEASE=$ENV{CFLAGS}";
- push @flags, "QMAKE_CFLAGS_DEBUG=$ENV{CFLAGS}";
+ push @flags, "QMAKE_CFLAGS_RELEASE=$ENV{CFLAGS} $ENV{CPPFLAGS}";
+ push @flags, "QMAKE_CFLAGS_DEBUG=$ENV{CFLAGS} $ENV{CPPFLAGS}";
}
if ($ENV{CXXFLAGS}) {
- push @flags, "QMAKE_CXXFLAGS_RELEASE=$ENV{CXXFLAGS}";
- push @flags, "QMAKE_CXXFLAGS_DEBUG=$ENV{CXXFLAGS}";
+ push @flags, "QMAKE_CXXFLAGS_RELEASE=$ENV{CXXFLAGS} $ENV{CPPFLAGS}";
+ push @flags, "QMAKE_CXXFLAGS_DEBUG=$ENV{CXXFLAGS} $ENV{CPPFLAGS}";
}
if ($ENV{LDFLAGS}) {
push @flags, "QMAKE_LFLAGS_RELEASE=$ENV{LDFLAGS}";