Mercurial > hg > graal-jvmci-8
comparison make/bsd/makefiles/gcc.make @ 14473:2dd7abe7b841
8033898: undefined symbol when build hotspot with Xcode5
Reviewed-by: sla, dholmes
author | henryjen |
---|---|
date | Tue, 25 Feb 2014 23:59:04 -0800 |
parents | b6ab2c9abfc5 |
children | d8041d695d19 d72cee0607a3 |
comparison
equal
deleted
inserted
replaced
14472:80b39937b791 | 14473:2dd7abe7b841 |
---|---|
362 # Linker flags | 362 # Linker flags |
363 | 363 |
364 # statically link libstdc++.so, work with gcc but ignored by g++ | 364 # statically link libstdc++.so, work with gcc but ignored by g++ |
365 STATIC_STDCXX = -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic | 365 STATIC_STDCXX = -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic |
366 | 366 |
367 # Ensure use libstdc++ on clang, not libc++ | |
368 ifeq ($(USE_CLANG), true) | |
369 LFLAGS += -stdlib=libstdc++ | |
370 endif | |
371 | |
367 ifeq ($(USE_CLANG),) | 372 ifeq ($(USE_CLANG),) |
368 # statically link libgcc and/or libgcc_s, libgcc does not exist before gcc-3.x. | 373 # statically link libgcc and/or libgcc_s, libgcc does not exist before gcc-3.x. |
369 ifneq ("${CC_VER_MAJOR}", "2") | 374 ifneq ("${CC_VER_MAJOR}", "2") |
370 STATIC_LIBGCC += -static-libgcc | 375 STATIC_LIBGCC += -static-libgcc |
371 endif | 376 endif |