summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2001-05-22 13:16:26 +0000
committerwtc%netscape.com <devnull@localhost>2001-05-22 13:16:26 +0000
commit76e38bb78097685d3f4bdb661546a97396f3d0c9 (patch)
tree767c02f17df53f8533d26dcab6f3f8871418f346
parent4d7780d68348df1b308f8d1223ab10d0bf2a42cd (diff)
downloadnspr-hg-76e38bb78097685d3f4bdb661546a97396f3d0c9.tar.gz
Bugzilla bug #28711: enabled gcc to assemble os_Irix.s on IRIX. Thanks to
John Vandenberg <zeroJ@null.net> for the research and the fix. Modified files: configure.in configure (NSPRPUB_CLIENT_BRANCH)
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 0cf81b44..356a9129 100755
--- a/configure
+++ b/configure
@@ -3178,7 +3178,7 @@ EOF
;;
esac
if test "$GNU_CC"; then
- AS='$(CC) -x assembler-with-cpp -D_ASM -mips2 $(INCLUDES)'
+ AS='$(CC) -Wp,-P -x assembler-with-cpp -D_ASM -mips2 $(INCLUDES)'
CFLAGS="$CFLAGS -Wall -Wno-format"
_OPTIMIZE_FLAGS="-O6"
else
diff --git a/configure.in b/configure.in
index ca0df24b..96d29238 100644
--- a/configure.in
+++ b/configure.in
@@ -839,7 +839,7 @@ case "$target" in
;;
esac
if test "$GNU_CC"; then
- AS='$(CC) -x assembler-with-cpp -D_ASM -mips2 $(INCLUDES)'
+ AS='$(CC) -Wp,-P -x assembler-with-cpp -D_ASM -mips2 $(INCLUDES)'
CFLAGS="$CFLAGS -Wall -Wno-format"
_OPTIMIZE_FLAGS="-O6"
else