Message ID | 20250507150425.1132318-1-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | arch-powerpc: Use -maltivec in compiler flags if altivec is in tune features | expand |
diff --git a/meta/conf/machine/include/powerpc/arch-powerpc.inc b/meta/conf/machine/include/powerpc/arch-powerpc.inc index be687e2df7c..0719477c414 100644 --- a/meta/conf/machine/include/powerpc/arch-powerpc.inc +++ b/meta/conf/machine/include/powerpc/arch-powerpc.inc @@ -26,6 +26,7 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-soft', ' -msoft-float TARGET_FPU .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-soft', 'soft', '', d)}" TUNEVALID[altivec] = "Altivec" +TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'altivec', ' -maltivec', '', d)}" # Basic tune definitions AVAILTUNES += "powerpc powerpc-nf powerpcle powerpcle-nf"
Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta/conf/machine/include/powerpc/arch-powerpc.inc | 1 + 1 file changed, 1 insertion(+)