(ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal "-mcpu=i686".

This commit is contained in:
Eli Zaretskii 2005-06-11 11:00:52 +00:00
parent dbbdb507ab
commit 5bc753e882
2 changed files with 15 additions and 1 deletions

View file

@ -1,3 +1,17 @@
2005-06-11 Eli Zaretskii <eliz@gnu.org>
* gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
"-mcpu=i686".
* configure1.bat: Update copyright years.
Delete config.log before doing anything else.
Write additional diagnostics to config.log in case of failures to
compile test programs, including the failed test program itself.
Add a test for support of -mtune=pentium4 switch to GCC; if it is
supported, set up MCPU_FLAG variable on the various Makefiles to
use that switch during compilations. (This avoids GCC warning
about -mcpu being deprecated.)
2005-06-10 Eli Zaretskii <eliz@gnu.org>
* addsection.c (copy_executable_and_add_section): Pass non-zero

View file

@ -253,7 +253,7 @@ ifeq "$(ARCH)" "i386"
ifdef NOOPT
ARCH_CFLAGS = -D_X86_=1 -c $(DEBUG_FLAG) $(NOCYGWIN)
else
ARCH_CFLAGS = -D_X86_=1 -c $(DEBUG_FLAG) $(NOCYGWIN) -mcpu=i686 -O2 \
ARCH_CFLAGS = -D_X86_=1 -c $(DEBUG_FLAG) $(NOCYGWIN) $(MCPU_FLAG) -O2 \
# -fbuiltin \
# -finline-functions \
# -fomit-frame-pointer