From: <mth...@us...> - 2011-04-17 21:31:42
|
Revision: 12128 http://openmsx.svn.sourceforge.net/openmsx/?rev=12128&view=rev Author: mthuurne Date: 2011-04-17 21:31:36 +0000 (Sun, 17 Apr 2011) Log Message: ----------- Corrected test for -Wno-missing-field-initializers support: we should test with the compiler we are actually using. Modified Paths: -------------- openmsx/trunk/build/main.mk Modified: openmsx/trunk/build/main.mk =================================================================== --- openmsx/trunk/build/main.mk 2011-04-17 21:03:02 UTC (rev 12127) +++ openmsx/trunk/build/main.mk 2011-04-17 21:31:36 UTC (rev 12128) @@ -323,7 +323,7 @@ COMPILE_FLAGS+=-Wall -Wextra -Wundef -Wunused-macros # Flag that is not accepted by old GCC versions. COMPILE_FLAGS+=$(shell \ - echo | gcc -E -Wno-missing-field-initializers - >/dev/null 2>&1 \ + echo | $(CXX) -E -Wno-missing-field-initializers - >/dev/null 2>&1 \ && echo -Wno-missing-field-initializers \ ) # Empty definition of used headers, so header removal doesn't break things. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |