diff options
author | kan <kan@FreeBSD.org> | 2003-08-08 03:41:13 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2003-08-08 03:41:13 +0000 |
commit | 0faaaf60497501816df7317711d94644653be450 (patch) | |
tree | 160771ff4f15825ac5ce956cada2b64f6fa48d88 | |
parent | 4b26ed59de98d8716f53e613e9a0ffdbf48a040f (diff) | |
download | FreeBSD-src-0faaaf60497501816df7317711d94644653be450.zip FreeBSD-src-0faaaf60497501816df7317711d94644653be450.tar.gz |
Allow gcc driver to process -r option iself, do not use -Wl,-r to
bypass it. Doing otherwise did not allow compiler to detect and disable
conflicting options generated from specs.
Reported by: jake
-rw-r--r-- | lib/libkse/support/Makefile.inc | 2 | ||||
-rw-r--r-- | lib/libpthread/support/Makefile.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkse/support/Makefile.inc b/lib/libkse/support/Makefile.inc index f6fec95..1b445ab 100644 --- a/lib/libkse/support/Makefile.inc +++ b/lib/libkse/support/Makefile.inc @@ -6,4 +6,4 @@ SOBJS+= thr_libc.So CLEANFILES+= thr_support.So thr_libc.So: thr_support.So - ${CC} -nostdlib -o ${.TARGET} -Wl,-r thr_support.So -lc_pic + ${CC} -nostdlib -o ${.TARGET} -r thr_support.So -lc_pic diff --git a/lib/libpthread/support/Makefile.inc b/lib/libpthread/support/Makefile.inc index f6fec95..1b445ab 100644 --- a/lib/libpthread/support/Makefile.inc +++ b/lib/libpthread/support/Makefile.inc @@ -6,4 +6,4 @@ SOBJS+= thr_libc.So CLEANFILES+= thr_support.So thr_libc.So: thr_support.So - ${CC} -nostdlib -o ${.TARGET} -Wl,-r thr_support.So -lc_pic + ${CC} -nostdlib -o ${.TARGET} -r thr_support.So -lc_pic |