summaryrefslogtreecommitdiffhomepage
path: root/auto/cc
diff options
context:
space:
mode:
Diffstat (limited to 'auto/cc')
-rw-r--r--auto/cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/auto/cc b/auto/cc
index 9c5459d58..377c442d6 100644
--- a/auto/cc
+++ b/auto/cc
@@ -1,7 +1,7 @@
case $CC in
- *gcc)
+ *gcc*)
# gcc 2.95.4, 3.3.2
# optimization
@@ -24,8 +24,7 @@ case $CC in
;;
esac
- CFLAGS="$CFLAGS $PIPE"
- CFLAGS="$CFLAGS $CPU_OPT"
+ CFLAGS="$CFLAGS $PIPE $CPU_OPT"
if [ ".$PCRE_OPT" = "." ]; then
PCRE_OPT="-O2 -fomit-frame-pointer $PIPE $CPU_OPT"