Put all IRIX cc compiler options inside the ifndef NS_USE_GCC block.
authorwtc%netscape.com
Thu, 14 Jun 2001 02:23:42 +0000
changeset 1941 9766815decf67a388bbc7d61ef3b300911b2c79b
parent 1940 d74fafff1a276314246838a35b5f15466a66b8aa
child 1942 602603888ed05a79e5ede84cd3dfabf147be1e27
push idunknown
push userunknown
push dateunknown
Put all IRIX cc compiler options inside the ifndef NS_USE_GCC block. Modified files: config/Makefile.in pr/tests/Makefile.in
config/Makefile.in
pr/tests/Makefile.in
--- a/config/Makefile.in
+++ b/config/Makefile.in
@@ -69,27 +69,27 @@ endif
 # library build time because now.c uses the 'long long'
 # data type that's not available on some platforms.
 ifeq (,$(filter-out NEC NEXTSTEP QNX SCOOS UNIXWARE,$(OS_ARCH)))
 DEFINES += -DOMIT_LIB_BUILD_TIME
 endif
 
 ifeq ($(OS_ARCH), IRIX)
     ifeq ($(basename $(OS_RELEASE)),6)
-	    ifeq ($(USE_N32),1)
-		    ifndef NS_USE_GCC
-		    XLDOPTS += -n32 -Wl,-woff,85
-		    endif
-	    else
-		    ifeq ($(USE_64),1)
-			    XLDOPTS += -64
-		    else
-			    XLDOPTS += -32
-		    endif
-	    endif
+        ifndef NS_USE_GCC
+            ifeq ($(USE_N32),1)
+                XLDOPTS += -n32 -Wl,-woff,85
+            else
+                ifeq ($(USE_64),1)
+                    XLDOPTS += -64
+                else
+                    XLDOPTS += -32
+                endif
+            endif
+        endif
     endif
 endif
 
 ifeq ($(OS_ARCH), HP-UX)
     ifeq ($(USE_64),1)
         XLDOPTS += +DA2.0W
     endif
 endif
--- a/pr/tests/Makefile.in
+++ b/pr/tests/Makefile.in
@@ -261,21 +261,21 @@ ifeq ($(OS_ARCH), IRIX)
 # For 6.x machines, include this flag
     ifeq ($(basename $(OS_RELEASE)),6)
         ifndef NS_USE_GCC
             ifeq ($(USE_N32),1)
                 LDOPTS += -n32
             else
                 LDOPTS += -32
             endif
-        endif
 
-        ifeq ($(USE_PTHREADS), 1)
-            ifeq ($(OS_RELEASE), 6.2)
-                LDOPTS += -Wl,-woff,85
+            ifeq ($(USE_PTHREADS), 1)
+                ifeq ($(OS_RELEASE), 6.2)
+                    LDOPTS += -Wl,-woff,85
+                endif
             endif
         endif
     endif
 endif
 
 ifeq ($(OS_ARCH), OSF1)
     ifeq ($(USE_CPLUS), 1)
         CC = cxx