projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3138aac
)
Update FreeBSD template to properly compile c++ on alpha.
author
Bruce Momjian
<bruce@momjian.us>
Wed, 3 Jul 2002 19:48:26 +0000
(19:48 +0000)
committer
Bruce Momjian
<bruce@momjian.us>
Wed, 3 Jul 2002 19:48:26 +0000
(19:48 +0000)
src/template/freebsd
patch
|
blob
|
blame
|
history
diff --git
a/src/template/freebsd
b/src/template/freebsd
index 9e92126332b6cc5ab88a94353a6b148f6d7b38b3..8f82569cc89cd794d7c0356ccaddbecb2182acc2 100644
(file)
--- a/
src/template/freebsd
+++ b/
src/template/freebsd
@@
-1,7
+1,6
@@
CFLAGS='-pipe'
-case $host_cpu in
- alpha*) CFLAGS="$CFLAGS -O";;
- i386*) CFLAGS="$CFLAGS -O2";;
-esac
-
+if [ `expr "$host_cpu" : "alpha"` -ge 5 ]
+then CFLAGS="$CFLAGS -O"
+ CXXFLAGS="$CFLAGS -O"
+fi