mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
041df375fc
PR: 39474 Submitted by: maintainer
71 lines
2.6 KiB
Plaintext
71 lines
2.6 KiB
Plaintext
--- configure.orig Sat Apr 27 11:18:26 2002
|
|
+++ configure Sat Apr 27 11:02:49 2002
|
|
@@ -1664,7 +1664,7 @@
|
|
CFLAGS=""
|
|
c_inline_level=""
|
|
else
|
|
- emuloop_opt_level=-${optimization_level-"O4 -fomit-frame-pointer"}
|
|
+ emuloop_opt_level=-${optimization_level-"O2 -fomit-frame-pointer"}
|
|
trutils_opt_level=-${optimization_level-"O1 -fomit-frame-pointer"}
|
|
builtins_opt_level=-${optimization_level-"O1 -fomit-frame-pointer"}
|
|
if test -n "$optimization_level"; then
|
|
@@ -1676,9 +1676,9 @@
|
|
fi
|
|
else
|
|
case $CC in
|
|
- gcc) emuloop_opt_level=-${optimization_level-"O4 -fomit-frame-pointer"}
|
|
+ gcc) emuloop_opt_level=-${optimization_level-"O2 -fomit-frame-pointer"}
|
|
trutils_opt_level=-${optimization_level-"O1 -fomit-frame-pointer"}
|
|
- builtins_opt_level=-${optimization_level-"O4 -fomit-frame-pointer"}
|
|
+ builtins_opt_level=-${optimization_level-"O2 -fomit-frame-pointer"}
|
|
if test -n "$optimization_level"; then
|
|
c_inline_level=""
|
|
else
|
|
@@ -1687,23 +1687,23 @@
|
|
CFLAGS="-Wall -ansi -pedantic"
|
|
;;
|
|
cc) if test "$__sunpro_c" = "no"; then
|
|
- emuloop_opt_level=-${optimization_level-"O4"}
|
|
- trutils_opt_level=-${optimization_level-"O4"}
|
|
- builtins_opt_level=-${optimization_level-"O4"}
|
|
+ emuloop_opt_level=-${optimization_level-"O2"}
|
|
+ trutils_opt_level=-${optimization_level-"O2"}
|
|
+ builtins_opt_level=-${optimization_level-"O2"}
|
|
else
|
|
# emuloop_opt_level is the optimization level for emuloop.c
|
|
# Using xO4 would take SunPro more than an hour, hence xO2.
|
|
emuloop_opt_level=-${optimization_level-"xO2"}
|
|
- trutils_opt_level=-${optimization_level-"xO4"}
|
|
- builtins_opt_level=-${optimization_level-"xO4"}
|
|
+ trutils_opt_level=-${optimization_level-"xO2"}
|
|
+ builtins_opt_level=-${optimization_level-"xO2"}
|
|
fi
|
|
c_inline_level=""
|
|
CFLAGS=""
|
|
;;
|
|
acc) # acc also seems to choke on high optimization levels for emuloop.c
|
|
emuloop_opt_level=-${optimization_level-"O2"}
|
|
- trutils_opt_level=-${optimization_level-"O4"}
|
|
- builtins_opt_level=-${optimization_level-"O4"}
|
|
+ trutils_opt_level=-${optimization_level-"O2"}
|
|
+ builtins_opt_level=-${optimization_level-"O2"}
|
|
c_inline_level=""
|
|
CFLAGS="-Xa"
|
|
;;
|
|
@@ -3231,12 +3231,12 @@
|
|
# SGI64 must have O1 and 32 bit SGI's can have O2
|
|
if test "$__sunpro_c" = "no"; then
|
|
if test "$CC" = "gcc" ; then
|
|
- c_opt_level=-${optimization_level-"O4 -fomit-frame-pointer"}
|
|
+ c_opt_level=-${optimization_level-"O2 -fomit-frame-pointer"}
|
|
else
|
|
- c_opt_level=-${optimization_level-"O4"}
|
|
+ c_opt_level=-${optimization_level-"O2"}
|
|
fi
|
|
else
|
|
- c_opt_level=-${optimization_level-"xO4"}
|
|
+ c_opt_level=-${optimization_level-"xO2"}
|
|
fi
|
|
|
|
|