mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-22 12:11:34 +00:00
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:
parent
f6bfcfc82d
commit
6f37b6c074
3 changed files with 14 additions and 0 deletions
|
@ -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
2
source/.gitignore
vendored
|
@ -1,3 +1,5 @@
|
|||
*.i
|
||||
*.s
|
||||
*.d
|
||||
*.o
|
||||
*.obj
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue