OSDN Git Service
(root)
/
pg-rex
/
syncrep.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
<bruce@momjian.us>
Sun, 7 Jul 2002 14:24:13 +0000
(14:24 +0000)
committer
Bruce Momjian
<bruce@momjian.us>
Sun, 7 Jul 2002 14:24:13 +0000
(14:24 +0000)
src/template/freebsd
patch
|
blob
|
history
diff --git
a/src/template/freebsd
b/src/template/freebsd
index
8f82569
..
1e8095a
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