diff options
author | wtc%netscape.com <devnull@localhost> | 2001-06-14 05:31:14 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2001-06-14 05:31:14 +0000 |
commit | 4b43d62dd31b2dc0c2e33c8f76dc35966373ba35 (patch) | |
tree | 509b0dcd328d284dee096a3860d9af7cea3c3d59 | |
parent | 18d57431ca147c1a9c46900ecd6edcec33bab839 (diff) | |
download | nspr-hg-4b43d62dd31b2dc0c2e33c8f76dc35966373ba35.tar.gz |
Use gcc's -Wl flag to pass a linker flag to the linker.
-rw-r--r-- | pr/tests/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pr/tests/Makefile.in b/pr/tests/Makefile.in index 8a190b9a..9ea4c648 100644 --- a/pr/tests/Makefile.in +++ b/pr/tests/Makefile.in @@ -255,7 +255,9 @@ ifeq ($(OS_ARCH), IRIX) CC = CC endif LDOPTS += -rpath $(ABSOLUTE_LIB_DIR) - ifndef NS_USE_GCC + ifdef NS_USE_GCC + LDOPTS += -Wl,-rdata_shared + else LDOPTS += -rdata_shared endif # For 6.x machines, include this flag |