summaryrefslogtreecommitdiff
path: root/lang/gcc-aux/files/diff-static-version
blob: a64e558e5c23983e8098667c2869b04e1ace5201 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- gcc/Makefile.in.2
+++ gcc/Makefile.in
@@ -320,11 +320,11 @@
 # This is where we get zlib from.  zlibdir is -L../zlib and zlibinc is
 # -I../zlib, unless we were configured with --with-system-zlib, in which
 # case both are empty.
-ZLIB = @zlibdir@ -lz
+ZLIB = -Wl,-Bstatic -lz -Wl,-Bdynamic
 ZLIBINC = @zlibinc@
 
 # How to find GMP
-GMPLIBS = @GMPLIBS@
+GMPLIBS = -Wl,-Bstatic @GMPLIBS@ -Wl,-Bdynamic
 GMPINC = @GMPINC@
 
 # How to find PPL