]> git.donarmstrong.com Git - lilypond.git/commitdiff
Revert "When LINK_GXX_STATICALLY=yes, use CC (ie, [*-*-]gcc) for linking. Fixes...
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 16 Nov 2008 19:07:10 +0000 (17:07 -0200)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 16 Nov 2008 19:07:10 +0000 (17:07 -0200)
This reverts commit 0d9ce36611b20603a079d039e90c4c737c0f394d.

With this change the GUB2 link with -mwindows fails, with none of the
stdlib function being found.

lily/GNUmakefile

index 41692eb1b6113e6aff3676aa0ea9fbeac6340dbb..3b13b8a6d9dabbbd6be1dee2ef85cde3ebe37910 100644 (file)
@@ -23,8 +23,7 @@ ifeq ($(HAVE_LIBKPATHSEA_SO),no)
 MODULE_LDFLAGS += $(KPATHSEA_LIBS)
 endif
 ifeq ($(LINK_GXX_STATICALLY),yes)
-LD = $(CC) # GCC-4.0.x will never link statically to allow exceptions
-MODULE_LDFLAGS += -L$(outdir) -static-libgcc -lstdc++
+MODULE_LDFLAGS += -L$(outdir) -static-libgcc
 endif
 
 CXXFLAGS += -Woverloaded-virtual