File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ ifeq ($(CLIENT_ONLY_FLG),N)
197197 CC="$(CC)" CFLAGS="$(CFLAGS)" AR="$(AR)" $(MAKE) -C $(ROOT)/extern/btyacc
198198endif
199199
200- CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" LD_FLAGS="$(WLDFLAGS )" $(MAKE) -C $(ROOT)/extern/cloop TARGET=release WITH_FPC=0 BUILD_DIR=$(TMP_ROOT)/cloop OUT_DIR=$(GEN_ROOT)/$(TARGET)/cloop core
200+ CXX="$(CXX)" LD_FLAGS="$(PLATFORM_LDFLAGS )" $(MAKE) -C $(ROOT)/extern/cloop TARGET=release WITH_FPC=0 BUILD_DIR=$(TMP_ROOT)/cloop OUT_DIR=$(GEN_ROOT)/$(TARGET)/cloop core
201201
202202 CC="$(CC)" CFLAGS="$(CFLAGS)" AR="$(AR)" $(MAKE) -C $(ROOT)/extern/decNumber
203203 ln -sf $(ROOT)/extern/decNumber/libdecFloat.a $(STATIC_LIB)
Original file line number Diff line number Diff line change @@ -71,7 +71,8 @@ WCXXFLAGS = $(WFLAGS) $(PLUSPLUS_FLAGS) $(PLATFORM_PLUSPLUS_FLAGS) $(CXXFLAGS) $
7171WLDFLAGS = $(LDFLAGS) $(AC_LDFLAGS)
7272
7373ifneq ($(PLATFORM),DARWIN)
74- WLDFLAGS += -static-libstdc++
74+ PLATFORM_LDFLAGS="-static-libstdc++"
75+ WLDFLAGS += $(PLATFORM_LDFLAGS)
7576endif
7677
7778# Here we have definitions for using the preprocessor.
You can’t perform that action at this time.
0 commit comments