summaryrefslogtreecommitdiff
path: root/qt-kde-team
diff options
context:
space:
mode:
authorJosé Manuel Santamaría Lema <panfaust@gmail.com>2012-05-30 16:10:39 +0200
committerJosé Manuel Santamaría Lema <panfaust@gmail.com>2012-05-30 16:10:54 +0200
commitb84b423736ad6c7ebfa412bd190fbb663cd3e2d8 (patch)
tree3e4d4d513bf22682a545df5e50bc35ddf609c46d /qt-kde-team
parentbb63eb93ac8d95048ab1bb0514e514030b52eefa (diff)
downloadpkg-kde-tools-b84b423736ad6c7ebfa412bd190fbb663cd3e2d8.tar.gz
Add a workaround for "cmake ignores CPPFLAGS" bug.
Diffstat (limited to 'qt-kde-team')
-rw-r--r--qt-kde-team/2/dhmk.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-kde-team/2/dhmk.mk b/qt-kde-team/2/dhmk.mk
index f3e21f4..84452a0 100644
--- a/qt-kde-team/2/dhmk.mk
+++ b/qt-kde-team/2/dhmk.mk
@@ -73,6 +73,11 @@ $(dhmk_env_mk): $(MAKEFILE_LIST)
include $(call dhmk_include_cmd,$(dhmk_env_mk))
include $(call dhmk_include_cmd,$(dhmk_rules_mk))
+# Add CPPFLAGS to CXXFLAGS, this is a workaround for a cmake bug,
+# which ignores CPPFLAGS, see:
+# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653916
+export CXXFLAGS += $(CPPFLAGS)
+
# Routine used to run an override target if there is one ($1 should be
# override_{command})
define dhmk_override_cmd