Verified Commit 5f2e7a93 authored by Ozkan Sezer's avatar Ozkan Sezer Committed by Ralph Giles
Browse files

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's avatarRalph Giles <giles@thaumas.net>
parent 36f969bb
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment