From dc99babbed31e6649fa57508b3c423bd6483e22a Mon Sep 17 00:00:00 2001 From: virtbuilder_pel7x64builder0 Date: Tue, 5 Jun 2018 16:16:15 +0200 Subject: [PATCH] qemu optflags updates for newer gcc Signed-off-by: virtbuilder_pel7x64builder0 --- SPECS/qemu.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SPECS/qemu.spec b/SPECS/qemu.spec index eaebab6..5566eb5 100755 --- a/SPECS/qemu.spec +++ b/SPECS/qemu.spec @@ -317,17 +317,17 @@ extraldflags="-Wl,--build-id"; buildldflags="VL_LDFLAGS=-Wl,--build-id" tracebackends="dtrace" %ifarch ppc64 -cflags="-m64 -O3 -g -fsigned-char -fno-strength-reduce -mcpu=power8 -mtune=power8 -mpower8-fusion -mpower8-vector -mcrypto -mquad-memory -mquad-memory-atomic -maltivec -mpowerpc-gpopt -mpowerpc-gfxopt -mcrypto -mvsx -mdirect-move -fPIC -fPIE -DPIE -D_FORTIFY_SOURCE=2" +cflags="-m64 -O3 -g -fsigned-char -fno-strength-reduce -march=power8 -mtune=power8 -mpower8-fusion -mpower8-vector -mcrypto -mquad-memory -mquad-memory-atomic -maltivec -mpowerpc-gpopt -mpowerpc-gfxopt -mcrypto -mvsx -mdirect-move -fPIC -fPIE -DPIE -D_FORTIFY_SOURCE=2" nativebuildarch="ppc64-softmmu" emulatedbuildarch="x86_64-softmmu s390x-softmmu sparc64-softmmu aarch64-softmmu mips64-softmmu mips64el-softmmu alpha-softmmu ppcemb-softmmu arm-softmmu" %endif %ifarch ppc64le -cflags="-m64 -O3 -g -fsigned-char -fno-strength-reduce -mcpu=power8 -mtune=power8 -mpower8-fusion -mpower8-vector -mcrypto -maltivec -mpowerpc-gpopt -mpowerpc-gfxopt -mcrypto -mvsx -mdirect-move -fPIC -fPIE -DPIE -D_FORTIFY_SOURCE=2" +cflags="-m64 -O3 -g -fsigned-char -fno-strength-reduce -march=power8 -mtune=power8 -mpower8-fusion -mpower8-vector -mcrypto -maltivec -mpowerpc-gpopt -mpowerpc-gfxopt -mcrypto -mvsx -mdirect-move -fPIC -fPIE -DPIE -D_FORTIFY_SOURCE=2" nativebuildarch="ppc64-softmmu" emulatedbuildarch="x86_64-softmmu s390x-softmmu sparc64-softmmu aarch64-softmmu mips64-softmmu mips64el-softmmu alpha-softmmu ppcemb-softmmu arm-softmmu" %endif %ifarch x86_64 -cflags="-m64 -O3 -g -mcpu=core2 -mtune=core2 -mmmx -msse -msse2 -mssse3 -msse4 -msse4.1 -msse4.2 -mavx -fPIC -fPIE -DPIE -D_FORTIFY_SOURCE=2" +cflags="-m64 -O3 -g -march=core2 -mtune=core2 -mmmx -msse -msse2 -mssse3 -msse4 -msse4.1 -msse4.2 -mavx -fPIC -fPIE -DPIE -D_FORTIFY_SOURCE=2" nativebuildarch="x86_64-softmmu" emulatedbuildarch="ppc64-softmmu s390x-softmmu sparc64-softmmu aarch64-softmmu mips64-softmmu mips64el-softmmu alpha-softmmu ppcemb-softmmu arm-softmmu" %endif