|
|
@ -316,10 +316,26 @@ This package provides the bootloader images for QEMU and stubs |
|
|
|
extraldflags="-Wl,--build-id"; |
|
|
|
extraldflags="-Wl,--build-id"; |
|
|
|
buildldflags="VL_LDFLAGS=-Wl,--build-id" |
|
|
|
buildldflags="VL_LDFLAGS=-Wl,--build-id" |
|
|
|
tracebackends="dtrace" |
|
|
|
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 -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" |
|
|
|
|
|
|
|
|
|
|
|
nativebuildarch="ppc64-softmmu" |
|
|
|
nativebuildarch="ppc64-softmmu" |
|
|
|
emulatedbuildarch="x86_64-softmmu s390x-softmmu sparc64-softmmu aarch64-softmmu mips64-softmmu mips64el-softmmu alpha-softmmu ppcemb-softmmu arm-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" |
|
|
|
|
|
|
|
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" |
|
|
|
|
|
|
|
nativebuildarch="x86_64-softmmu" |
|
|
|
|
|
|
|
emulatedbuildarch="ppc64-softmmu s390x-softmmu sparc64-softmmu aarch64-softmmu mips64-softmmu mips64el-softmmu alpha-softmmu ppcemb-softmmu arm-softmmu" |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
%ifarch aarch64 |
|
|
|
|
|
|
|
nativebuildarch="aarch64-softmmu" |
|
|
|
|
|
|
|
emulatedbuildarch="ppc64-softmmu s390x-softmmu sparc64-softmmu x86_64-softmmu mips64-softmmu mips64el-softmmu alpha-softmmu ppcemb-softmmu arm-softmmu" |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# native build |
|
|
|
# native build |
|
|
|
./configure \ |
|
|
|
./configure \ |
|
|
|