Use gcc's -Wl flag to pass a linker flag to the linker.

This commit is contained in:
wtc%netscape.com 2001-06-14 05:31:14 +00:00
parent 79a92e1b5b
commit 098d89018a

View File

@ -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