make[2]: Entering directory `/tmp/buildd/qt4-x11-4.7.1/qmake' g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -O2 -fno-strict-volatile-bitfields -fno-strict-volatile-bitfields -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -I/tmp/buildd/qt4-x11-4.7.1/include -I/tmp/buildd/qt4-x11-4.7.1/include/QtCore -I/tmp/buildd/qt4-x11-4.7.1/src/corelib/global -I/tmp/buildd/qt4-x11-4.7.1/src/corelib/xml -I/tmp/buildd/qt4-x11-4.7.1/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/tmp/buildd/qt4-x11-4.7.1/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp g++ -c -o property.o -pipe -DQMAKE_OPENSOURCE_EDITION -O2 -fno-strict-volatile-bitfields -fno-strict-volatile-bitfields -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -I/tmp/buildd/qt4-x11-4.7.1/include -I/tmp/buildd/qt4-x11-4.7.1/include/QtCore -I/tmp/buildd/qt4-x11-4.7.1/src/corelib/global -I/tmp/buildd/qt4-x11-4.7.1/src/corelib/xml -I/tmp/buildd/qt4-x11-4.7.1/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/tmp/buildd/qt4-x11-4.7.1/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT property.cpp cc1plus: error: unrecognized command line option "-fno-strict-volatile-bitfields" cc1plus: error: unrecognized command line option "-fno-strict-volatile-bitfields" ICECC[20202] 19:58:18: Compiled on 192.168.111.110 make[2]: *** [property.o] Error 1 make[2]: Leaving directory `/tmp/buildd/qt4-x11-4.7.1/qmake' make[1]: *** [override_dh_auto_configure] Error 2 make[1]: Leaving directory `/tmp/buildd/qt4-x11-4.7.1' make: *** [build] Error 2
To do the build I changed:
--- a/mkspecs/linux-g++/qmake.conf +++ b/mkspecs/linux-g++/qmake.conf @@ -12,3 +12,8 @@ QMAKE_INCREMENTAL_STYLE = sublib include(../common/g++.conf) include(../common/linux.conf) load(qt_config) + + + QMAKE_CFLAGS_RELEASE += -fno-strict-volatile-bitfields + QMAKE_CXXFLAGS_RELEASE += -fno-strict-volatile-bitfields +
Is that correct?
make[2]: Entering directory `/tmp/buildd/ qt4-x11- 4.7.1/qmake' OPENSOURCE_ EDITION -O2 -fno-strict- volatile- bitfields -fno-strict- volatile- bitfields -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/ symbian -I/tmp/ buildd/ qt4-x11- 4.7.1/include -I/tmp/ buildd/ qt4-x11- 4.7.1/include/ QtCore -I/tmp/ buildd/ qt4-x11- 4.7.1/src/ corelib/ global -I/tmp/ buildd/ qt4-x11- 4.7.1/src/ corelib/ xml -I/tmp/ buildd/ qt4-x11- 4.7.1/tools/ shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_ UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/tmp/ buildd/ qt4-x11- 4.7.1/mkspecs/ linux-g+ + -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_ GEOM_VARIANT project.cpp OPENSOURCE_ EDITION -O2 -fno-strict- volatile- bitfields -fno-strict- volatile- bitfields -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/ symbian -I/tmp/ buildd/ qt4-x11- 4.7.1/include -I/tmp/ buildd/ qt4-x11- 4.7.1/include/ QtCore -I/tmp/ buildd/ qt4-x11- 4.7.1/src/ corelib/ global -I/tmp/ buildd/ qt4-x11- 4.7.1/src/ corelib/ xml -I/tmp/ buildd/ qt4-x11- 4.7.1/tools/ shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_ UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/tmp/ buildd/ qt4-x11- 4.7.1/mkspecs/ linux-g+ + -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_ GEOM_VARIANT property.cpp volatile- bitfields" volatile- bitfields" qt4-x11- 4.7.1/qmake' dh_auto_ configure] Error 2 qt4-x11- 4.7.1'
g++ -c -o project.o -pipe -DQMAKE_
g++ -c -o property.o -pipe -DQMAKE_
cc1plus: error: unrecognized command line option "-fno-strict-
cc1plus: error: unrecognized command line option "-fno-strict-
ICECC[20202] 19:58:18: Compiled on 192.168.111.110
make[2]: *** [property.o] Error 1
make[2]: Leaving directory `/tmp/buildd/
make[1]: *** [override_
make[1]: Leaving directory `/tmp/buildd/
make: *** [build] Error 2
To do the build I changed:
--- a/mkspecs/ linux-g+ +/qmake. conf linux-g+ +/qmake. conf AL_STYLE = sublib ../common/ g++.conf) ../common/ linux.conf) RELEASE += -fno-strict- volatile- bitfields RELEASE += -fno-strict- volatile- bitfields
+++ b/mkspecs/
@@ -12,3 +12,8 @@ QMAKE_INCREMENT
include(
include(
load(qt_config)
+
+
+ QMAKE_CFLAGS_
+ QMAKE_CXXFLAGS_
+
Is that correct?