diff --git a/.hgtags b/.hgtags
a
|
b
|
|
3 | 3 | 62e5a142f7157c6dfa8ab59fc9228208326507ad ecm-6.3.p4 |
4 | 4 | 14c0237361c1ffefdcece11d745f3381ec009a46 ecm-6.3.p5 |
5 | 5 | 7ac46fc5997fb25668f35b8571f48af69f5859f4 ecm-6.3.p6 |
| 6 | 7fca381ce4ac6348621631152378799293833b61 ecm-6.3.p7 |
diff --git a/SPKG.txt b/SPKG.txt
a
|
b
|
|
83 | 83 | |
84 | 84 | == Changelog == |
85 | 85 | |
| 86 | === ecm-6.3.p7 (Leif Leonhardy, April 19th 2012) === |
| 87 | * #12830: Add `-m[no-]power*` to the processor-specific options recognized; |
| 88 | these are used to enable/disable specific instruction set extensions of the |
| 89 | POWER and PowerPC (PPC) CPUs. |
| 90 | |
86 | 91 | === ecm-6.3.p6 (Leif Leonhardy, April 16th 2012) === |
87 | 92 | * #12830: Add a work-around for GCC 4.7.x on ia64 (Itanium), since GMP-ECM |
88 | 93 | currently won't build with that and anything but `-O0` on that platform. |
diff --git a/spkg-install b/spkg-install
a
|
b
|
|
181 | 181 | # 'native' not supported, see if GMP / MPIR provides us some CPU type: |
182 | 182 | for opt in $gmp_cflags; do |
183 | 183 | case $opt in |
184 | | -march=*|-mcpu=*|-mtune*) |
| 184 | -march=*|-mcpu=*|-mtune=*|-mpower*|-mno-power*) |
185 | 185 | echo "Found CPU parameter in gmp.h: $opt" |
186 | 186 | cpu_params="$cpu_params $opt" |
187 | 187 | ;; |
… |
… |
|
193 | 193 | rm -f foo.* foo |
194 | 194 | # Only add them if CFLAGS do not already contain similar: |
195 | 195 | if [ -n "$cpu_params" ] && |
196 | | ! (echo "$CFLAGS" | egrep -- '-march=|-mcpu=|-mtune=' >/dev/null); |
| 196 | ! (echo "$CFLAGS" | egrep -- '-march=|-mcpu=|-mtune=|-mpower|-mno-power' >/dev/null); |
197 | 197 | then |
198 | 198 | echo "Using additional host-specific CFLAGS: $cpu_params" |
199 | 199 | CFLAGS="$cpu_params $CFLAGS" |