Comment 6 for bug 707205

Revision history for this message
su_v (suv-lp) wrote : Re: Inkscape 0.48.0 fails to build with gcc 4.6

Patch tested with r10074 (not a full rebuild) and fix confirmed (linking is done without failure) on OS X 10.5.8 (i386) with

 $ g++-4.2 --version
 i686-apple-darwin9-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5577)

Maybe the test should go along with the other compiler and linker tests in configure.ac (line 43-166)? Among those, there already seems to exist a test for GNU ld, at least according to the output of configure (log attached):

 checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.2.1/ld) is GNU ld... no

which possibly could be reused for the linker flags in 'src/Makefile.am'?