From f5911edd79f97fcbe08d7ddf3cc4c4c25423b13c Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 29 Sep 2012 00:28:28 +0200 Subject: link with gcc frontend to avoid having to link against libc explicitly since this differs on MinGW --- src/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 4e57b90..ffdd850 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,3 +1,5 @@ +CXXLD = @CC@ + AM_CXXFLAGS = -Wall AM_CPPFLAGS = @@ -13,5 +15,4 @@ osc_graphics_SOURCES = main.cpp osc_graphics.h \ layer_image.cpp layer_image.h \ layer_video.cpp layer_video.h -osc_graphics_LDFLAGS = -nodefaultlibs -osc_graphics_LDADD = -lc -lsupc++ -lgcc -lgcc_eh +osc_graphics_LDADD = -lsupc++ -- cgit v1.2.3