summaryrefslogtreecommitdiff
path: root/x11-toolkits/fltk/files/patch-configure
blob: 38502025c303cffe3bd6214576695f0221284e83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- configure.orig	2011-08-31 09:14:41.000000000 +0200
+++ configure	2011-08-31 09:14:54.000000000 +0200
@@ -7362,7 +7362,7 @@
 	LIBS="$LIBS -lX11 $X_EXTRA_LIBS"
 	CFLAGS="$CFLAGS $X_CFLAGS"
 	CXXFLAGS="$CXXFLAGS $X_CFLAGS"
-	LDFLAGS="$X_LIBS $LDFLAGS"
+	LDFLAGS="$LDFLAGS $X_LIBS"
 	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