Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit a7ca603

Browse files
committed
arch/ppc64el.sh: add new RUSTFLAGS ...
* Enables vsx, altivec, and secure-plt. * Checks for ieeelongdouble during linking. * Targets POWER 8 processor
1 parent 290c1f3 commit a7ca603

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/ppc64el.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
##@copyright GPL-2.0+
44
CFLAGS_GCC_ARCH='-mcpu=power8 -mtune=power9 -msecure-plt -mvsx -mabi=ieeelongdouble'
55
CFLAGS_CLANG_ARCH='-mcpu=power8 -mtune=power9 -msecure-plt -mvsx -mabi=ieeelongdouble'
6+
RUSTFLAGS_COMMON_ARCH='-Ctarget-cpu=pwr8 -Ctarget-feature=+vsx,+altivec,+secure-plt -Clink-arg=-mabi=ieeelongdouble'

0 commit comments

Comments
 (0)