Bugzilla bug #28711: enabled gcc to assemble os_Irix.s on IRIX. Thanks to
authorwtc%netscape.com
Tue, 22 May 2001 13:28:34 +0000
changeset 1891 4ae001fe474923f9c9f88ba304ec76919791be5f
parent 1889 884b3ba126b3b9dedbf5ddaff66e0a3e03b8cf88
child 1893 c5dca12ba9b1b21d34953fd900c842e516fae65d
push idunknown
push userunknown
push dateunknown
bugs28711
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
configure
configure.in
--- a/configure
+++ b/configure
@@ -3380,17 +3380,17 @@ EOF
         USE_NSPR_THREADS=1
         ;;
     *)
         USE_PTHREADS=1
         USE_N32=1
         ;;
     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
 	    if test -n "$USE_N32"; then
 		AS='as -D_ASM $(INCLUDES) -n32'
 	    else
 		AS='as -D_ASM $(INCLUDES)'
 	    fi
--- a/configure.in
+++ b/configure.in
@@ -949,17 +949,17 @@ case "$target" in
         USE_NSPR_THREADS=1
         ;;
     *)
         USE_PTHREADS=1
         USE_N32=1
         ;;
     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
 	    if test -n "$USE_N32"; then
 		AS='as -D_ASM $(INCLUDES) -n32'
 	    else
 		AS='as -D_ASM $(INCLUDES)'
 	    fi