40 lines
1.4 KiB
Diff
40 lines
1.4 KiB
Diff
|
Index: configure
|
||
|
================================================================================
|
||
|
--- configure
|
||
|
+++ configure
|
||
|
@@ -2962,9 +2962,11 @@
|
||
|
cclist="gcc cc"
|
||
|
cc_cflags="-O2"
|
||
|
gcc_cflags="-O2 -mpowerpc"
|
||
|
- gcc_cflags_optlist="precomp subtype cpu"
|
||
|
+ gcc_cflags_optlist="precomp subtype asm cpu"
|
||
|
gcc_cflags_precomp="-no-cpp-precomp"
|
||
|
gcc_cflags_subtype="-force_cpusubtype_ALL" # for vmx on darwin
|
||
|
+ gcc_cflags_asm=""
|
||
|
+ gcc_cflags_cpu=""
|
||
|
|
||
|
# grab this object, though it's not a true cycle counter routine
|
||
|
SPEED_CYCLECOUNTER_OBJ=powerpc.lo
|
||
|
@@ -2975,7 +2977,7 @@
|
||
|
path="powerpc32/750 powerpc32" ;;
|
||
|
powerpc7400)
|
||
|
path="powerpc32/vmx powerpc32/750 powerpc32" ;;
|
||
|
- powerpc745?)
|
||
|
+ powerpc74[45]?)
|
||
|
path="powerpc32/vmx powerpc32 powerpc32" ;;
|
||
|
*)
|
||
|
path="powerpc32" ;;
|
||
|
@@ -3009,8 +3011,11 @@
|
||
|
powerpc630) gcc_cflags_cpu="-mcpu=630" ;;
|
||
|
powerpc740) gcc_cflags_cpu="-mcpu=740" ;;
|
||
|
powerpc7400 | powerpc7410)
|
||
|
+ gcc_cflags_asm="-Wa,-maltivec"
|
||
|
gcc_cflags_cpu="-mcpu=7400 -mcpu=750" ;;
|
||
|
- powerpc745?) gcc_cflags_cpu="-mcpu=7450" ;;
|
||
|
+ powerpc74[45]?)
|
||
|
+ gcc_cflags_asm="-Wa,-maltivec"
|
||
|
+ gcc_cflags_cpu="-mcpu=7450" ;;
|
||
|
powerpc750) gcc_cflags_cpu="-mcpu=750" ;;
|
||
|
powerpc801) gcc_cflags_cpu="-mcpu=801" ;;
|
||
|
powerpc821) gcc_cflags_cpu="-mcpu=821" ;;
|