From 2c2115c9e679f15f84bdcbe74b80ce278a81fe8a Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Tue, 19 May 2009 17:23:34 +0200 Subject: [PATCH] Call ld with proper flags Filter linkflags passed to ld by ocamlopt -pack and -output-obj to remove the "-Wl," parts, which are only used when ocamlopt calls gcc. Gbp-Pq: Name 0002-Call-ld-with-proper-flags.patch --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index d67672ef..c0024a9c 100755 --- a/configure +++ b/configure @@ -2049,7 +2049,7 @@ echo "DYNLINKOPTS=$dllib" >> Makefile echo "OTHERLIBRARIES=$otherlibraries" >> Makefile echo "CC_PROFILE=$cc_profile" >> Makefile echo "SYSTHREAD_SUPPORT=$systhread_support" >> Makefile -echo "PACKLD=$partialld $nativecclinkopts -o\\ " >> Makefile +echo "PACKLD=$partialld $(echo $nativecclinkopts|sed s/-Wl,//g) -o\\ " >> Makefile echo "IFLEXDIR=$iflexdir" >> Makefile echo "O=o" >> Makefile echo "A=a" >> Makefile -- 2.30.2