common: explicitly disable altivec on ppc

This commit is contained in:
stenstorp 2019-02-05 12:12:30 +10:30 committed by maxice8
parent 42ff28be0c
commit 86ca0398b3
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
XBPS_TARGET_CFLAGS="-mcpu=powerpc -mtune=G4 -mlong-double-64" XBPS_TARGET_CFLAGS="-mcpu=powerpc -mno-altivec -mtune=G4 -mlong-double-64"
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS" XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
XBPS_TARGET_FFLAGS="" XBPS_TARGET_FFLAGS=""
XBPS_TRIPLET="powerpc-linux-musl" XBPS_TRIPLET="powerpc-linux-musl"

View File

@ -1,4 +1,4 @@
XBPS_TARGET_CFLAGS="-mcpu=powerpc -mtune=G4" XBPS_TARGET_CFLAGS="-mcpu=powerpc -mno-altivec -mtune=G4"
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS" XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
XBPS_TARGET_FFLAGS="" XBPS_TARGET_FFLAGS=""
XBPS_TRIPLET="powerpc-linux-gnu" XBPS_TRIPLET="powerpc-linux-gnu"

View File

@ -2,7 +2,7 @@
XBPS_TARGET_MACHINE="ppc-musl" XBPS_TARGET_MACHINE="ppc-musl"
XBPS_CROSS_TRIPLET="powerpc-linux-musl" XBPS_CROSS_TRIPLET="powerpc-linux-musl"
XBPS_CROSS_CFLAGS="-mcpu=powerpc -mtune=G4 -mlong-double-64" XBPS_CROSS_CFLAGS="-mcpu=powerpc -mno-altivec -mtune=G4 -mlong-double-64"
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS" XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
XBPS_CROSS_FFLAGS="" XBPS_CROSS_FFLAGS=""
XBPS_CROSS_RUSTFLAGS="--sysroot=${XBPS_CROSS_BASE}/usr" XBPS_CROSS_RUSTFLAGS="--sysroot=${XBPS_CROSS_BASE}/usr"

View File

@ -2,7 +2,7 @@
XBPS_TARGET_MACHINE="ppc" XBPS_TARGET_MACHINE="ppc"
XBPS_CROSS_TRIPLET="powerpc-linux-gnu" XBPS_CROSS_TRIPLET="powerpc-linux-gnu"
XBPS_CROSS_CFLAGS="-mcpu=powerpc -mtune=G4" XBPS_CROSS_CFLAGS="-mcpu=powerpc -mno-altivec -mtune=G4"
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS" XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
XBPS_CROSS_FFLAGS="" XBPS_CROSS_FFLAGS=""
XBPS_CROSS_RUSTFLAGS="--sysroot=${XBPS_CROSS_BASE}/usr" XBPS_CROSS_RUSTFLAGS="--sysroot=${XBPS_CROSS_BASE}/usr"