summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOzkan Sezer <sezeroz@gmail.com>2020-10-04 20:41:00 +0300
committerRalph Giles <giles@thaumas.net>2020-11-05 19:33:33 -0800
commit5f2e7a93388ee621a1411272836044fa1d6be047 (patch)
tree4fb8fcaccdcef7b402cf6e713676e8cdc7ee6e53
parent36f969bb37559345ee03796ed625a9abd42c6db9 (diff)
downloadogg-git-5f2e7a93388ee621a1411272836044fa1d6be047.tar.gz
configure.ac: replace -O20 optimization flags with -O2.
The idea was to trigger maximum optimizations, but to date compilers only go up to -O3, so this in ambiguous. Signed-off-by: Ralph Giles <giles@thaumas.net>
-rw-r--r--configure.ac12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index a2429e7..349861a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,13 +46,13 @@ else
case $host in
*-*-linux*)
DEBUG="-g -Wall -fsigned-char"
- CFLAGS="-O20 -Wall -ffast-math -fsigned-char"
- PROFILE="-Wall -W -pg -g -O20 -ffast-math -fsigned-char"
+ CFLAGS="-O2 -Wall -ffast-math -fsigned-char"
+ PROFILE="-Wall -W -pg -g -O2 -ffast-math -fsigned-char"
;;
sparc-sun-*)
DEBUG="-g -Wall -fsigned-char"
- CFLAGS="-O20 -ffast-math -fsigned-char"
- PROFILE="-pg -g -O20 -fsigned-char"
+ CFLAGS="-O2 -ffast-math -fsigned-char"
+ PROFILE="-pg -g -O2 -fsigned-char"
;;
*-*-darwin*)
DEBUG="-fno-common -g -Wall -fsigned-char"
@@ -61,8 +61,8 @@ else
;;
*)
DEBUG="-g -Wall -fsigned-char"
- CFLAGS="-O20 -fsigned-char"
- PROFILE="-O20 -g -pg -fsigned-char"
+ CFLAGS="-O2 -fsigned-char"
+ PROFILE="-O2 -g -pg -fsigned-char"
;;
esac
fi