pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: gobject-introspection is like, the worst.
FWIW, with the patch below my build has managed to create a lot more .gir
files than ever before (and no core dumps so far).
Martin
(originally for PR toolchain/52326)
Index: gcc.c
===================================================================
RCS file: /cvsroot/src/external/gpl3/gcc/dist/gcc/gcc.c,v
retrieving revision 1.14
diff -u -p -r1.14 gcc.c
--- gcc.c 14 Feb 2016 19:08:10 -0000 1.14
+++ gcc.c 29 Jun 2017 13:46:33 -0000
@@ -1462,13 +1462,8 @@ init_gcc_specs (struct obstack *obstack,
buf = concat ("%{static|static-libgcc:", static_name, " ", eh_name, "}"
"%{!static:%{!static-libgcc:"
#if USE_LD_AS_NEEDED
- "%{!shared-libgcc:",
- static_name, " " LD_AS_NEEDED_OPTION " ",
- shared_name, " " LD_NO_AS_NEEDED_OPTION
- "}"
- "%{shared-libgcc:",
- "--as-needed ", shared_name, " --no-as-needed ", static_name,
- "}"
+ LD_AS_NEEDED_OPTION " ", shared_name, " " LD_NO_AS_NEEDED_OPTION " ",
+ static_name,
#else
"%{!shared:"
"%{!shared-libgcc:", static_name, " ", eh_name, "}"
Home |
Main Index |
Thread Index |
Old Index