diff --git a/debian/changelog b/debian/changelog index ec7d5b700..ebb6fe4b0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ cmake (2.8.12.1-2) UNRELEASED; urgency=medium * Add Lisandro and myself to uploaders. + * Correctly pass CXXFLAGS with CPPFLAGS to bootstrap. -- Felix Geyer Sun, 03 Aug 2014 10:02:57 +0200 diff --git a/debian/rules b/debian/rules index f1081709d..9c1a08985 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,6 @@ #!/usr/bin/make -f -export DEB_CPPFLAGS_MAINT_APPEND := $(shell dpkg-buildflags --get CPPFLAGS) +export DEB_CXXFLAGS_MAINT_APPEND := $(shell dpkg-buildflags --get CPPFLAGS) export DEB_CFLAGS_MAINT_APPEND := $(shell dpkg-buildflags --get CPPFLAGS) ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) @@ -22,7 +22,7 @@ $(BUILD_FLAGS_FILE) verify-build-flags: $(call $(flag_action),CMAKE_USE_RELATIVE_PATHS,ON,"Use relative paths") $(call $(flag_action),CMAKE_VERBOSE_MAKEFILE,ON,"Verbose build") $(call $(flag_action),CMAKE_C_FLAGS,"$(CFLAGS)","C flags") - $(call $(flag_action),CMAKE_CXX_FLAGS,"$(CFLAGS)","C++ flags") + $(call $(flag_action),CMAKE_CXX_FLAGS,"$(CXXFLAGS)","C++ flags") $(call $(flag_action),CMAKE_SKIP_BOOTSTRAP_TEST,ON,"Skip BootstrapTest") $(call $(flag_action),BUILD_CursesDialog,ON,"Build curses GUI") $(call $(flag_action),BUILD_QtDialog,ON,"Build Qt4 GUI")