68 lines
2.8 KiB
Diff
68 lines
2.8 KiB
Diff
--- gc6.6/Makefile.in.no-undefined 2005-09-09 11:34:45.000000000 -0500
|
|
+++ gc6.6/Makefile.in 2005-09-16 10:35:48.700954361 -0500
|
|
@@ -340,15 +340,15 @@
|
|
# linuxthread semaphore functions get linked:
|
|
libgc_la_LIBADD = @addobjs@ $(THREADDLLIBS) $(UNWINDLIBS)
|
|
libgc_la_DEPENDENCIES = @addobjs@
|
|
-libgc_la_LDFLAGS = -version-info 1:2:0
|
|
+libgc_la_LDFLAGS = -version-info 1:2:0 -no-undefined -Wl,--no-undefined
|
|
EXTRA_libgc_la_SOURCES = alpha_mach_dep.S \
|
|
mips_sgi_mach_dep.s mips_ultrix_mach_dep.s powerpc_darwin_mach_dep.s \
|
|
rs6000_mach_dep.s sparc_mach_dep.S sparc_netbsd_mach_dep.s \
|
|
sparc_sunos4_mach_dep.s ia64_save_regs_in_stack.s
|
|
|
|
libgccpp_la_SOURCES = gc_cpp.cc
|
|
-libgccpp_la_LIBADD = $(THREADDLLIBS) $(UNWINDLIBS)
|
|
-libgccpp_la_LDFLAGS = -version-info 1:2:0
|
|
+libgccpp_la_LIBADD = ./libgc.la
|
|
+libgccpp_la_LDFLAGS = -version-info 1:2:0 -no-undefined -Wl,--no-undefined
|
|
AM_CXXFLAGS = @GC_CFLAGS@
|
|
AM_CFLAGS = @GC_CFLAGS@
|
|
@CPLUSPLUS_FALSE@extra_checks =
|
|
@@ -356,9 +356,9 @@
|
|
|
|
# gctest_OBJECTS = test.o
|
|
gctest_SOURCES = tests/test.c
|
|
-gctest_LDADD = ./libgc.la $(THREADDLLIBS) $(UNWINDLIBS) $(EXTRA_TEST_LIBS)
|
|
+gctest_LDADD = ./libgc.la $(EXTRA_TEST_LIBS)
|
|
test_cpp_SOURCES = tests/test_cpp.cc
|
|
-test_cpp_LDADD = ./libgc.la ./libgccpp.la $(THREADDLLIBS) $(UNWINDLIBS) $(EXTRA_TEST_LIBS)
|
|
+test_cpp_LDADD = ./libgccpp.la $(EXTRA_TEST_LIBS)
|
|
TESTS = gctest $(extra_checks)
|
|
all_objs = @addobjs@ $(libgc_la_OBJECTS)
|
|
@COMPILER_XLC_FALSE@ASM_CPP_OPTIONS = -Wp,-P -x assembler-with-cpp
|
|
--- gc6.6/Makefile.am.no-undefined 2005-05-28 23:54:12.000000000 -0500
|
|
+++ gc6.6/Makefile.am 2005-09-16 10:35:02.816840997 -0500
|
|
@@ -57,7 +57,7 @@
|
|
# linuxthread semaphore functions get linked:
|
|
libgc_la_LIBADD = @addobjs@ $(THREADDLLIBS) $(UNWINDLIBS)
|
|
libgc_la_DEPENDENCIES = @addobjs@
|
|
-libgc_la_LDFLAGS = -version-info 1:2:0
|
|
+libgc_la_LDFLAGS = -version-info 1:2:0 -no-undefined -Wl,--no-undefined
|
|
|
|
EXTRA_libgc_la_SOURCES = alpha_mach_dep.S \
|
|
mips_sgi_mach_dep.s mips_ultrix_mach_dep.s powerpc_darwin_mach_dep.s \
|
|
@@ -65,8 +65,8 @@
|
|
sparc_sunos4_mach_dep.s ia64_save_regs_in_stack.s
|
|
|
|
libgccpp_la_SOURCES = gc_cpp.cc
|
|
-libgccpp_la_LIBADD = $(THREADDLLIBS) $(UNWINDLIBS)
|
|
-libgccpp_la_LDFLAGS = -version-info 1:2:0
|
|
+libgccpp_la_LIBADD = ./libgc.la
|
|
+libgccpp_la_LDFLAGS = -version-info 1:2:0 -no-undefined -Wl,--no-undefined
|
|
|
|
EXTRA_DIST += alpha_mach_dep.S mips_sgi_mach_dep.s sparc_mach_dep.S
|
|
|
|
@@ -91,9 +91,9 @@
|
|
## are included in the distribution
|
|
# gctest_OBJECTS = test.o
|
|
gctest_SOURCES = tests/test.c
|
|
-gctest_LDADD = ./libgc.la $(THREADDLLIBS) $(UNWINDLIBS) $(EXTRA_TEST_LIBS)
|
|
+gctest_LDADD = ./libgc.la $(EXTRA_TEST_LIBS)
|
|
test_cpp_SOURCES = tests/test_cpp.cc
|
|
-test_cpp_LDADD = ./libgc.la ./libgccpp.la $(THREADDLLIBS) $(UNWINDLIBS) $(EXTRA_TEST_LIBS)
|
|
+test_cpp_LDADD = ./libgccpp.la $(EXTRA_TEST_LIBS)
|
|
|
|
TESTS = gctest $(extra_checks)
|
|
|