From 9865c4d115caa0b1e476ff6b0ef5c1a25081c112 Mon Sep 17 00:00:00 2001 From: Lauri Tirkkonen Date: Sat, 2 Dec 2017 15:43:23 +0200 Subject: [PATCH] illumos-gcc: add -lc to libstdc++.so --- .../openindiana/illumos-gcc/patches/03-libstdc++-lc.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 components/openindiana/illumos-gcc/patches/03-libstdc++-lc.patch diff --git a/components/openindiana/illumos-gcc/patches/03-libstdc++-lc.patch b/components/openindiana/illumos-gcc/patches/03-libstdc++-lc.patch new file mode 100644 index 000000000..bba3314ed --- /dev/null +++ b/components/openindiana/illumos-gcc/patches/03-libstdc++-lc.patch @@ -0,0 +1,11 @@ +--- illumos-gcc-0f5ed4c/libstdc++-v3/src/Makefile.in.orig Sat Dec 2 15:41:46 2017 ++++ illumos-gcc-0f5ed4c/libstdc++-v3/src/Makefile.in Sat Dec 2 15:41:39 2017 +@@ -570,7 +570,7 @@ + rm -f "$${dir}/so_locations"; \ + done + libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES) +- $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS) ++ $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS) -lc + + mostlyclean-compile: + -rm -f *.$(OBJEXT) -- 2.11.4.GIT