Added -lgcc to shared library builds and static prod builds for gcc 3.4.2.

This commit is contained in:
Janet B. Anderson
2005-09-12 19:38:51 +00:00
parent 28ceac4534
commit 25966c7892
2 changed files with 3 additions and 1 deletions

View File

@ -50,3 +50,5 @@ STATIC_LDFLAGS_NO =
SHRLIB_CFLAGS = -fPIC
GNU_LDLIBS_YES = -lgcc

View File

@ -274,7 +274,7 @@ LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) \
$(RUNTIME_LDFLAGS) $(CODE_LDFLAGS)
LDLIBS = $(STATIC_LDLIBS)\
$(POSIX_LDLIBS) $(ARCH_DEP_LDLIBS) $(DEBUG_LDLIBS) $(OP_SYS_LDLIBS)
$(POSIX_LDLIBS) $(ARCH_DEP_LDLIBS) $(DEBUG_LDLIBS) $(OP_SYS_LDLIBS) $(GNU_LDLIBS_$(GNU))
CPPFLAGS += $(CONFORM_CPPFLAGS) $($(BUILD_CLASS)_CPPFLAGS) $(POSIX_CPPFLAGS)\
$(BASE_CPPFLAGS) $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS)\