diff options
author | wtc%netscape.com <devnull@localhost> | 2001-06-07 01:15:32 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2001-06-07 01:15:32 +0000 |
commit | 72ec574578708cca7300b3db9577aaaa08e2ff5f (patch) | |
tree | 2fe11b2aa4c0de6ce6f278f2d633858904497d5f | |
parent | 7c3bccee13a08104eaea20ba2fec7fbfee2e59ee (diff) | |
download | nspr-hg-72ec574578708cca7300b3db9577aaaa08e2ff5f.tar.gz |
Added comments to explain the -Wp,-P compiler option for gcc on IRIX.
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.in | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -3385,7 +3385,7 @@ EOF ;; esac if test "$GNU_CC"; then - AS='$(CC) -Wp,-P -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 1245c9b9..470257cc 100644 --- a/configure.in +++ b/configure.in @@ -954,6 +954,13 @@ case "$target" in ;; esac if test "$GNU_CC"; then + dnl + dnl If we are using gcc with native binutils, we need to + dnl suppress the + dnl #lineno "filename" num num + dnl lines, which confuse IRIX native as. Add -Wp,-P to the + dnl gcc command line, which passes -P to the preprocessor. + dnl AS='$(CC) -Wp,-P -x assembler-with-cpp -D_ASM -mips2 $(INCLUDES)' CFLAGS="$CFLAGS -Wall -Wno-format" _OPTIMIZE_FLAGS="-O6" |