summaryrefslogtreecommitdiff
path: root/x11-toolkits/fltk/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/fltk/files/patch-configure')
-rw-r--r--x11-toolkits/fltk/files/patch-configure18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-toolkits/fltk/files/patch-configure b/x11-toolkits/fltk/files/patch-configure
index 44897babaeb0..38502025c303 100644
--- a/x11-toolkits/fltk/files/patch-configure
+++ b/x11-toolkits/fltk/files/patch-configure
@@ -9,3 +9,21 @@
DSOFLAGS="$X_LIBS $DSOFLAGS"
$as_echo "#define USE_X11 1" >>confdefs.h
+@@ -8137,17 +8137,10 @@
+ # Don't use -fforce-mem, -fforce-addr, or -fcaller-saves.
+ # They all seem to make either no difference or enlarge
+ # the code by a few hundred bytes.
+- #
+- # "-Os" seems to be the best compromise between speed and
+- # code size. "-O3" and higher seem to make no effective
+- # difference in the speed of the code, but does bloat the
+- # library 10+%.
+ #
+
+ if test "x$with_optim" != x; then
+ OPTIM="$with_optim $OPTIM"
+- else
+- OPTIM="-Os $OPTIM"
+ fi
+ fi
+