diff options
author | reg <reg@FreeBSD.org> | 2000-12-21 19:40:44 +0000 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-12-21 19:40:44 +0000 |
commit | b1d46a5dc5b8919dca6008339364cc28a29d57c8 (patch) | |
tree | f6de3c0fd2938dcfe9f7150f0a1b36c65a9fb492 /www/mozilla-devel/files/patch-an | |
parent | d4f034e7df36091a3241f4bbff4d31b70b71664e (diff) | |
download | FreeBSD-ports-b1d46a5dc5b8919dca6008339364cc28a29d57c8.zip FreeBSD-ports-b1d46a5dc5b8919dca6008339364cc28a29d57c8.tar.gz |
Explictly link against libgcc_r, to work around bugs in 4.2-RELEASE onwards
and -CURRENT. I'm still not sure why the bug was exposed only recently, but
it is due to libstdc++ being linked without the -nostdlib option (causing it
to be statically linked against libgcc even for the threaded case).
Thanks to Andrew Bliznak <andrew@ort.lviv.net> for testing this.
Diffstat (limited to 'www/mozilla-devel/files/patch-an')
-rw-r--r-- | www/mozilla-devel/files/patch-an | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/mozilla-devel/files/patch-an b/www/mozilla-devel/files/patch-an new file mode 100644 index 0000000..2904080 --- /dev/null +++ b/www/mozilla-devel/files/patch-an @@ -0,0 +1,11 @@ +--- js/src/Makefile.in.orig Thu Dec 21 01:23:12 2000 ++++ js/src/Makefile.in Thu Dec 21 01:23:22 2000 +@@ -218,7 +218,7 @@ + endif + + ifeq ($(OS_ARCH),FreeBSD) +-LDFLAGS += -pthread ++LDFLAGS += -pthread -lgcc_r + endif + ifeq ($(OS_ARCH),IRIX) + ifdef USE_N32 |