From: ellson Date: Tue, 31 May 2011 12:26:13 +0000 (+0000) Subject: get rid of -xarch from GD_LDFLAGS as it breaks gcc X-Git-Tag: LAST_LIBGRAPH~32^2~735 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c4c0129a338b9dac68f5494e6ae1c39542a7130d;p=graphviz get rid of -xarch from GD_LDFLAGS as it breaks gcc --- diff --git a/configure.ac b/configure.ac index 5397be145..dd875ca4c 100644 --- a/configure.ac +++ b/configure.ac @@ -2538,7 +2538,7 @@ else AC_PATH_PROG(GDLIB_CONFIG,gdlib-config) if test -n "$GDLIB_CONFIG"; then GD_INCLUDES=`$GDLIB_CONFIG --includes` - GD_LDFLAGS=`$GDLIB_CONFIG --ldflags | sed 's/-xarch=386 //'` + GD_LDFLAGS=`$GDLIB_CONFIG --ldflags | sed 's/-xarch=[^ ]* //'` GD_LIBS=`$GDLIB_CONFIG --libs` GD_MAJORVERSION=`$GDLIB_CONFIG --majorversion` GD_MINORVERSION=`$GDLIB_CONFIG --minorversion`