summaryrefslogtreecommitdiffstats
path: root/gd-2.0.34-sparc64.patch
blob: d82a3833ec378a478c35c38bb6b90a93d9e13060 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- gd-2.0.34/configure.sp	2007-02-08 13:44:32.000000000 +0100
+++ gd-2.0.34/configure	2007-02-08 13:50:39.000000000 +0100
@@ -9075,8 +9075,8 @@
 
     *)
       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
-	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+	archive_cmds='$CC $CFLAGS -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+	archive_expsym_cmds='$CC $CFLAGS -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       else
 	ld_shlibs=no
       fi