projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1666970
)
Convert expr to case, for Peter E.
author
Bruce Momjian
Sun, 7 Jul 2002 14:24:13 +0000
(14:24 +0000)
committer
Bruce Momjian
Sun, 7 Jul 2002 14:24:13 +0000
(14:24 +0000)
src/template/freebsd
patch
|
blob
|
blame
|
history
diff --git
a/src/template/freebsd
b/src/template/freebsd
index 8f82569cc89cd794d7c0356ccaddbecb2182acc2..1e8095a5d6a3192898f7b55e92d36daf41b3129e 100644
(file)
--- 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="$C
FLAGS -O"
-fi
+case $host_cpu in
+ alpha*) CFLAGS="$CFLAGS -O";;
+
CXXFLAGS="$CXX
FLAGS -O"
+esac