]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/GNUmakefile
MusicXML: Compressed MusicXML files should be compiled, too...
[lilypond.git] / lily / GNUmakefile
index 4d596327b0902e926e8add1ce6916494986711b0..41692eb1b6113e6aff3676aa0ea9fbeac6340dbb 100644 (file)
@@ -8,7 +8,7 @@ MODULE_LIBS=$(depth)/flower
 MODULE_INCLUDES= $(depth)/flower/include
 
 # need this to convert between function pointers and member function pointers.
-MODULE_CXXFLAGS= -Wno-pmf-conversions
+MODULE_CXXFLAGS= -Wno-pmf-conversions 
 
 
 HELP2MAN_EXECS = lilypond
@@ -23,7 +23,8 @@ ifeq ($(HAVE_LIBKPATHSEA_SO),no)
 MODULE_LDFLAGS += $(KPATHSEA_LIBS)
 endif
 ifeq ($(LINK_GXX_STATICALLY),yes)
-MODULE_LDFLAGS += -L$(outdir) -static-libgcc
+LD = $(CC) # GCC-4.0.x will never link statically to allow exceptions
+MODULE_LDFLAGS += -L$(outdir) -static-libgcc -lstdc++
 endif
 
 CXXFLAGS += -Woverloaded-virtual