--- platform/dss/configure.ac.orig	2008-07-02 18:01:31.000000000 +1000
+++ platform/dss/configure.ac	2010-12-03 15:31:21.000000000 +1100
@@ -224,7 +224,7 @@
     ;;
 esac
 
-CPU_FLAGS=""
+if test -z "$CPU_FLAGS"; then
 AC_MSG_CHECKING(CPU type)
 case "$host_cpu" in
     sparc)
@@ -248,6 +248,7 @@
 	fi
     ;;
 esac
+fi
 CXXFLAGS="$CPU_FLAGS $CXXFLAGS"
 
 
