Mercurial > hg > release > icedtea7-forest-2.3 > jdk
changeset 3414:3b8e4a1215bb
Allow user to set STATIC_CXX
author | andrew |
---|---|
date | Tue, 29 Mar 2011 14:22:49 +0100 |
parents | e251bf6cbfb4 |
children | 00cc7464d21c |
files | make/common/shared/Compiler-gcc.gmk |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/make/common/shared/Compiler-gcc.gmk Sun Mar 06 00:06:42 2011 +0000 +++ b/make/common/shared/Compiler-gcc.gmk Tue Mar 29 14:22:49 2011 +0100 @@ -57,7 +57,9 @@ CC = $(COMPILER_PATH)gcc CPP = $(COMPILER_PATH)gcc -E # statically link libstdc++ before C++ ABI is stablized on Linux - STATIC_CXX = true + ifneq ($(STATIC_CXX),false) + STATIC_CXX = true + endif ifeq ($(STATIC_CXX),true) # g++ always dynamically links libstdc++, even we use "-Wl,-Bstatic -lstdc++" # We need to use gcc to statically link the C++ runtime. gcc and g++ use