summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure10
1 files changed, 3 insertions, 7 deletions
diff --git a/configure b/configure
index 6e1348893b..461c1b9524 100755
--- a/configure
+++ b/configure
@@ -1815,7 +1815,9 @@ is_in $arch $ARCH_LIST || echo "WARNING: unknown arch $arch"
enable $arch
# Add processor-specific flags
-if enabled ppc; then
+if test "$cpu" = generic; then
+ : do nothing
+elif enabled ppc; then
case $cpu in
601|ppc601|PowerPC601)
@@ -1923,12 +1925,6 @@ elif enabled avr32; then
;;
esac
-else
-
- if test "$cpu" != generic; then
- echo "WARNING: Unknown CPU \"$cpu\", ignored."
- fi
-
fi
add_cflags $cpuflags