If we use gcc, then we use -pipe, or we use -save-temps.

Added *.i and *.s to the clean rule, for above -save-temps.
This commit is contained in:
Zephaniah E. Hull 2000-09-28 04:32:55 +00:00
parent f6bfcfc82d
commit 6f37b6c074
3 changed files with 14 additions and 0 deletions

View file

@ -942,6 +942,15 @@ if test "x$profile" = xyes; then
fi
fi
if test "x$GCC" = xyes; then
dnl Check for -pipe vs -save-temps.
AC_MSG_CHECKING(for -pipe vs -save-temps)
AC_ARG_ENABLE(save-temps,
[ --enable-save-temps save temporay files],
AC_MSG_RESULT(-save-temps); CFLAGS="$CFLAGS -save-temps",
AC_MSG_RESULT(-pipe); CFLAGS="$CFLAGS -pipe")
fi
dnl QuakeForge uses lots of BCPL-style (//) comments, which can cause problems
dnl with many compilers that don't support the latest ISO standards. Well,
dnl that is our cover story -- the reality is that we like them and don't want

2
source/.gitignore vendored
View file

@ -1,3 +1,5 @@
*.i
*.s
*.d
*.o
*.obj

View file

@ -269,3 +269,6 @@ EXTRA_DIST= makefile.win \
qf-server.mak qw_server.dsp \
qf-client-sdl.mak qf-client-win.mak qw_client.dsp \
qf-client-sgl.mak qf-client-wgl.mak qf-client-win.mak
# Kill the temp files, hopefully.
CLEANFILES = *.i *.s