projects
/
platform
/
upstream
/
flac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67bb28d
)
conditionalize gcc-specific flags
author
Josh Coalson
<jcoalson@users.sourceforce.net>
Tue, 5 Jun 2001 22:36:45 +0000
(22:36 +0000)
committer
Josh Coalson
<jcoalson@users.sourceforce.net>
Tue, 5 Jun 2001 22:36:45 +0000
(22:36 +0000)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index 190686097daf4f2bc1b77aec15e6318aec9da3cf..bef1b8e2e17f1dff5273011d82a6f62eb1566a96 100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-53,9
+53,12
@@
fi
CFLAGS='-I./include -I $(top_srcdir)/include -Wall -W'
if test x$debug = xtrue; then
-
CFLAGS="$CFLAGS
-g -O0 -DDEBUG"
+
CFLAGS="$CFLAGS
-g -O0 -DDEBUG"
else
- CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG"
+ CFLAGS="$CFLAGS -O3 -DNDEBUG"
+ if test x$GCC = xyes; then
+ CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions"
+ fi
fi
AC_OUTPUT( Makefile \