Status: New Owner: ---- Labels: Type-Bug Priority-Low New issue 285 by [email protected]: Newer SCons versions (1.x+?) repeats compilation flags http://code.google.com/p/v8/issues/detail?id=285
At least with SCons version 1.2.0.r3842, I see the following compilation commands with repeated CCFLAGS: g++ -o obj/release/api.o -c -Wall -Werror -W -Wno-unused-parameter - pedantic -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -m32 -fno-rtti -fno-exceptions -Wall -Werror -W -Wno-unused-parameter - pedantic -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -m32 -DENABLE_LOGGING_AND_PROFILING <source> The reason is that we set the CXXFLAGS to "$CCFLAGS <extras>", but with the newer SCons versions, the command to compile C++ code already includes CCFLAGS: CXXCOM = "$CXX -o $TARGET -c $CXXFLAGS $CCFLAGS $_CCCOMCOM $SOURCES" so they are repeated. Annoying. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
