summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/template/freebsd8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/template/freebsd b/src/template/freebsd
index 8f82569cc89..1e8095a5d6a 100644
--- a/src/template/freebsd
+++ b/src/template/freebsd
@@ -1,6 +1,6 @@
CFLAGS='-pipe'
-if [ `expr "$host_cpu" : "alpha"` -ge 5 ]
-then CFLAGS="$CFLAGS -O"
- CXXFLAGS="$CFLAGS -O"
-fi
+case $host_cpu in
+ alpha*) CFLAGS="$CFLAGS -O";;
+ CXXFLAGS="$CXXFLAGS -O"
+esac