Index: rpm-4.9.0/rpmrc.in =================================================================== --- rpm-4.9.0.orig/rpmrc.in +++ rpm-4.9.0/rpmrc.in @@ -12,10 +12,10 @@ # "fat" binary with both archs, for Darwin optflags: fat -O2 -g -arch i386 -arch ppc -optflags: i386 -O2 -g -march=i386 -mtune=i686 -optflags: i486 -O2 -g -march=i486 -optflags: i586 -O2 -g -march=i586 -optflags: i686 -O2 -g -march=i686 +Optflags: i386 %{__global_cflags} -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables +Optflags: i486 %{__global_cflags} -m32 -march=i486 -fasynchronous-unwind-tables +Optflags: i586 %{__global_cflags} -m32 -march=core2 -msse3 -mno-ssse3 -mfpmath=sse -mtune=generic -fasynchronous-unwind-tables -fno-omit-frame-pointer +Optflags: i686 %{__global_cflags} -m32 -march=core2 -msse3 -mno-ssse3 -mfpmath=sse -mtune=generic -fasynchronous-unwind-tables -fno-omit-frame-pointer optflags: pentium3 -O2 -g -march=pentium3 optflags: pentium4 -O2 -g -march=pentium4 optflags: athlon -O2 -g -march=athlon @@ -58,18 +58,19 @@ optflags: hppa2.0 -O2 -g -mpa-risc-1-0 optflags: mips -O2 -g optflags: mipsel -O2 -g -optflags: armv3l -O2 -g -march=armv3 -optflags: armv4b -O2 -g -march=armv4 -optflags: armv4l -O2 -g -march=armv4 -optflags: armv4tl -O2 -g -march=armv4t -optflags: armv5tel -O2 -g -march=armv5te -optflags: armv5tejl -O2 -g -march=armv5te -optflags: armv6l -O2 -g -march=armv6 -optflags: armv7l -O2 -g -march=armv7 -optflags: armv7hl -O2 -g -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -mno-thumb -optflags: armv7nhl -O2 -g -march=armv7-a -mfloat-abi=hard -mfpu=neon -mno-thumb -optflags: armv7thl -O2 -g -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -mthumb -optflags: armv7tnhl -O2 -g -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb +optflags: armv3l %{__global_cflags} -fsigned-char -march=armv3 +optflags: armv4b %{__global_cflags} -fsigned-char -march=armv4 +optflags: armv4l %{__global_cflags} -fsigned-char -march=armv4 +optflags: armv4tl %{__global_cflags} -march=armv4t +optflags: armv5tejl %{__global_cflags} -march=armv5te +Optflags: armv5tel %{__global_cflags} -fmessage-length=0 -march=armv5te -mlittle-endian +Optflags: armv6l %{__global_cflags} -fmessage-length=0 -march=armv6 -mlittle-endian -mfpu=vfp -mfloat-abi=softfp -D__SOFTFP__ +Optflags: armv7l %{__global_cflags} -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__ +optflags: armv7hl %{__global_cflags} -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -mno-thumb +optflags: armv7nhl %{__global_cflags} -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mno-thumb +optflags: armv7thl %{__global_cflags} -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -mthumb +optflags: armv7tnhl %{__global_cflags} -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb + optflags: atarist -O2 -g -fomit-frame-pointer optflags: atariste -O2 -g -fomit-frame-pointer @@ -218,10 +219,10 @@ buildarchtranslate: athlon: i386 buildarchtranslate: geode: i386 buildarchtranslate: pentium4: i386 buildarchtranslate: pentium3: i386 -buildarchtranslate: i686: i386 -buildarchtranslate: i586: i386 -buildarchtranslate: i486: i386 -buildarchtranslate: i386: i386 +buildarchtranslate: i686: i586 +buildarchtranslate: i586: i586 +buildarchtranslate: i486: i586 +buildarchtranslate: i386: i586 buildarchtranslate: alphaev5: alpha buildarchtranslate: alphaev56: alpha