From: Eli Zaretskii Date: Sat, 11 Jun 2005 11:00:52 +0000 (+0000) Subject: (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal "-mcpu=i686". X-Git-Tag: emacs-pretest-22.0.90~9051 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5bc753e882174ee0865ba04feea55442b2418057;p=emacs.git (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal "-mcpu=i686". --- diff --git a/nt/ChangeLog b/nt/ChangeLog index 9e30349388a..ff3674cef75 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,17 @@ +2005-06-11 Eli Zaretskii + + * 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 * addsection.c (copy_executable_and_add_section): Pass non-zero diff --git a/nt/gmake.defs b/nt/gmake.defs index bd201cd3314..23d3dac3719 100644 --- a/nt/gmake.defs +++ b/nt/gmake.defs @@ -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