diff --git a/3rdParty/Makefile.v8 b/3rdParty/Makefile.v8 index 1d3542957e..d1f1a75253 100644 --- a/3rdParty/Makefile.v8 +++ b/3rdParty/Makefile.v8 @@ -51,8 +51,8 @@ if ENABLE_V8_DEBUG CXX="$(CXX)" \ CXX.host="$(CXX)" \ LINK="$(CXX)" \ - CFLAGS="-O0 -ggdb -fsigned-char -march=armv6 $(DEBUG_V8_FLAGS) $(GOLD_V8_FLAGS)" \ - CXXFLAGS="-O0 -ggdb -fsigned-char -march=armv6 $(DEBUG_V8_FLAGS) $(GOLD_V8_FLAGS)" \ + CFLAGS="-O0 -ggdb -fsigned-char -march=armv6 $(DEBUG_V8_FLAGS) $(GOLD_V8_FLAGS) $(STDLIB_FLAGS)" \ + CXXFLAGS="-O0 -ggdb -fsigned-char -march=armv6 $(DEBUG_V8_FLAGS) $(GOLD_V8_FLAGS) $(STDLIB_FLAGS)" \ LDFLAGS="-march=armv6" \ debug=on v8_optimized_debug=0 v8_enable_backtrace=on \ library=static strictaliasing=off snapshot=off werror=no hardfp=on @V8_TARGET@ @@ -65,8 +65,8 @@ else CXX="$(CXX)" \ CXX.host="$(CXX)" \ LINK="$(CXX)" \ - CFLAGS="-O2 -g -fsigned-char -march=armv6 $(GOLD_V8_FLAGS)" \ - CXXFLAGS="-O2 -g -fsigned-char -march=armv6 $(GOLD_V8_FLAGS)" \ + CFLAGS="-O2 -g -fsigned-char -march=armv6 $(GOLD_V8_FLAGS) $(STDLIB_FLAGS)" \ + CXXFLAGS="-O2 -g -fsigned-char -march=armv6 $(GOLD_V8_FLAGS) $(STDLIB_FLAGS)" \ LDFLAGS="-march=armv6" \ library=static strictaliasing=off snapshot=off werror=no hardfp=on @V8_TARGET@ endif @@ -86,8 +86,8 @@ if ENABLE_V8_DEBUG CXX="$(CXX)" \ CXX.host="$(CXX)" \ LINK="$(CXX)" \ - CFLAGS="-O0 -ggdb -fsigned-char -march=armv7 $(DEBUG_V8_FLAGS) $(GOLD_V8_FLAGS)" \ - CXXFLAGS="-O0 -ggdb -fsigned-char -march=armv7 $(DEBUG_V8_FLAGS) $(GOLD_V8_FLAGS)" \ + CFLAGS="-O0 -ggdb -fsigned-char -march=armv7 $(DEBUG_V8_FLAGS) $(GOLD_V8_FLAGS) $(STDLIB_FLAGS)" \ + CXXFLAGS="-O0 -ggdb -fsigned-char -march=armv7 $(DEBUG_V8_FLAGS) $(GOLD_V8_FLAGS) $(STDLIB_FLAGS)" \ LDFLAGS="-march=armv7" \ debug=on v8_optimized_debug=0 v8_enable_backtrace=on \ library=static strictaliasing=off snapshot=off werror=no @V8_TARGET@ @@ -100,8 +100,8 @@ else CXX="$(CXX)" \ CXX.host="$(CXX)" \ LINK="$(CXX)" \ - CFLAGS="-O2 -g -fsigned-char -march=armv7 $(GOLD_V8_FLAGS)" \ - CXXFLAGS="-O2 -g -fsigned-char -march=armv7 $(GOLD_V8_FLAGS)" \ + CFLAGS="-O2 -g -fsigned-char -march=armv7 $(GOLD_V8_FLAGS) $(STDLIB_FLAGS)" \ + CXXFLAGS="-O2 -g -fsigned-char -march=armv7 $(GOLD_V8_FLAGS) $(STDLIB_FLAGS)" \ LDFLAGS="-march=armv7" \ library=static strictaliasing=off snapshot=off werror=no @V8_TARGET@ endif @@ -160,8 +160,8 @@ if ENABLE_V8_DEBUG CXX="$(CXX)" \ CXX.host="$(CXX)" \ LINK="$(CXX)" \ - CFLAGS="-O0 -ggdb $(DEBUG_V8_FLAGS) $(GOLD_V8_FLAGS)" \ - CXXFLAGS="-O0 -ggdb $(DEBUG_V8_FLAGS) $(GOLD_V8_FLAGS)" \ + CFLAGS="-O0 -ggdb $(DEBUG_V8_FLAGS) $(GOLD_V8_FLAGS) $(STDLIB_FLAGS)" \ + CXXFLAGS="-O0 -ggdb $(DEBUG_V8_FLAGS) $(GOLD_V8_FLAGS) $(STDLIB_FLAGS)" \ debug=on v8_optimized_debug=0 v8_enable_backtrace=on \ library=static strictaliasing=off snapshot=off werror=no @V8_TARGET@ else # ! ENABLE_V8_DEBUG @@ -173,8 +173,8 @@ else # ! ENABLE_V8_DEBUG CXX="$(CXX)" \ CXX.host="$(CXX)" \ LINK="$(CXX)" \ - CFLAGS="-O3 -fomit-frame-pointer -g $(GOLD_V8_FLAGS)" \ - CXXFLAGS="-O3 -fomit-frame-pointer -g $(GOLD_V8_FLAGS)" \ + CFLAGS="-O3 -fomit-frame-pointer -g $(GOLD_V8_FLAGS) $(STDLIB_FLAGS)" \ + CXXFLAGS="-O3 -fomit-frame-pointer -g $(GOLD_V8_FLAGS) $(STDLIB_FLAGS)" \ library=static strictaliasing=off snapshot=off werror=no @V8_TARGET@ endif # ENABLE_V8_DEBUG endif # ENABLE_DARWIN