8033898: undefined symbol when build hotspot with Xcode5
Reviewed-by: sla, dholmes
This commit is contained in:
parent
fe929c4107
commit
ac4f26242b
@ -364,6 +364,11 @@ ASFLAGS += -x assembler-with-cpp
|
||||
# statically link libstdc++.so, work with gcc but ignored by g++
|
||||
STATIC_STDCXX = -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic
|
||||
|
||||
# Ensure use libstdc++ on clang, not libc++
|
||||
ifeq ($(USE_CLANG), true)
|
||||
LFLAGS += -stdlib=libstdc++
|
||||
endif
|
||||
|
||||
ifeq ($(USE_CLANG),)
|
||||
# statically link libgcc and/or libgcc_s, libgcc does not exist before gcc-3.x.
|
||||
ifneq ("${CC_VER_MAJOR}", "2")
|
||||
|
Loading…
x
Reference in New Issue
Block a user