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-configure17
1 files changed, 8 insertions, 9 deletions
diff --git a/x11-toolkits/fltk/files/patch-configure b/x11-toolkits/fltk/files/patch-configure
index 38502025c303..7b60c0c4e1a9 100644
--- a/x11-toolkits/fltk/files/patch-configure
+++ b/x11-toolkits/fltk/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig 2011-08-31 09:14:41.000000000 +0200
-+++ configure 2011-08-31 09:14:54.000000000 +0200
-@@ -7362,7 +7362,7 @@
+--- configure.orig 2016-11-11 16:04:30 UTC
++++ configure
+@@ -7408,7 +7408,7 @@ $as_echo "$as_me: WARNING: Ignoring libraries \"$X_PRE
LIBS="$LIBS -lX11 $X_EXTRA_LIBS"
CFLAGS="$CFLAGS $X_CFLAGS"
CXXFLAGS="$CXXFLAGS $X_CFLAGS"
@@ -9,21 +9,20 @@
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.
+@@ -8276,16 +8276,9 @@ if test -n "$GCC"; then
# 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
+ if test "x$with_optim" != x; then
OPTIM="$with_optim $OPTIM"
- else
-- OPTIM="-Os $OPTIM"
+- OPTIM="-Os $OPTIM"
fi
fi