summaryrefslogtreecommitdiff
path: root/pr/tests
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2001-06-07 01:11:59 +0000
committerwtc%netscape.com <devnull@localhost>2001-06-07 01:11:59 +0000
commit7c3bccee13a08104eaea20ba2fec7fbfee2e59ee (patch)
treed1f640b571a891fcfe4677dc77ee92e234913978 /pr/tests
parent707ab9864fd9dbfb2c1fbdb45308f96983f07c51 (diff)
downloadnspr-hg-7c3bccee13a08104eaea20ba2fec7fbfee2e59ee.tar.gz
Do not use IRIX native compiler options such as -n32 when NS_USE_GCC is
defined. Modified files: config/Makefile.in, pr/tests/Makefile.in
Diffstat (limited to 'pr/tests')
-rw-r--r--pr/tests/Makefile.in15
1 files changed, 10 insertions, 5 deletions
diff --git a/pr/tests/Makefile.in b/pr/tests/Makefile.in
index ecead6d8..99dcd64a 100644
--- a/pr/tests/Makefile.in
+++ b/pr/tests/Makefile.in
@@ -254,13 +254,18 @@ ifeq ($(OS_ARCH), IRIX)
ifeq ($(USE_CPLUS), 1)
CC = CC
endif
- LDOPTS += -rpath $(ABSOLUTE_LIB_DIR) -rdata_shared
+ LDOPTS += -rpath $(ABSOLUTE_LIB_DIR)
+ ifndef NS_USE_GCC
+ LDOPTS += -rdata_shared
+ endif
# For 6.x machines, include this flag
ifeq ($(basename $(OS_RELEASE)),6)
- ifeq ($(USE_N32),1)
- LDOPTS += -n32
- else
- LDOPTS += -32
+ ifndef NS_USE_GCC
+ ifeq ($(USE_N32),1)
+ LDOPTS += -n32
+ else
+ LDOPTS += -32
+ endif
endif
ifeq ($(USE_PTHREADS), 1)