зеркало из https://github.com/mozilla/pjs.git
Added comments to explain the -Wp,-P compiler option for gcc on IRIX.
This commit is contained in:
Родитель
2d14054ab4
Коммит
ac2fe459f7
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче