From 94a5f4988992799c74bfef24f6e06eed6dd4a6b2 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 11 Jan 2007 14:34:51 +0000 Subject: [PATCH] rpmrc.in: Use -mtune=i686 instead of -mtune=generic for i[3456]86 -mtune=i686 does not differ from -mtune=generic for gcc-4.1.x (see gcc/config/i386/i386.c for details), but -mtune=generic is not implemented in older gcc. --- rpmrc.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rpmrc.in b/rpmrc.in index 78a4647..d4f013b 100644 --- a/rpmrc.in +++ b/rpmrc.in @@ -10,10 +10,10 @@ ############################################################# # Values for RPM_OPT_FLAGS for various platforms -optflags: i386 %optflags_default -march=i386 -mtune=generic -optflags: i486 %optflags_default -march=i486 -mtune=generic -optflags: i586 %optflags_default -march=i586 -mtune=generic -optflags: i686 %optflags_default -march=i686 -mtune=generic +optflags: i386 %optflags_default -march=i386 -mtune=i686 +optflags: i486 %optflags_default -march=i486 -mtune=i686 +optflags: i586 %optflags_default -march=i586 -mtune=i686 +optflags: i686 %optflags_default -march=i686 -mtune=i686 optflags: pentium2 %optflags_default -march=pentium2 -mtune=pentium4 optflags: pentium3 %optflags_default -march=pentium3 -mtune=pentium4 optflags: pentium4 %optflags_default -march=pentium4