15 lines
493 B
Plaintext
15 lines
493 B
Plaintext
$NetBSD: patch-src_Makefile.am,v 1.1 2015/09/13 21:32:13 nros Exp $
|
|
GCC 4.6+ chokes on "--no-undefined" which older versions of GCC let fall
|
|
to the linker. Prefix with "-Wl," to fix build.
|
|
--- src/Makefile.am.orig 2013-02-20 00:39:42.000000000 +0000
|
|
+++ src/Makefile.am
|
|
@@ -58,7 +58,7 @@ libabiword_@ABIWORD_SERIES@_la_CPPFLAGS
|
|
libabiword_@ABIWORD_SERIES@_la_LDFLAGS = \
|
|
$(DEPS_LIBS) \
|
|
$(CHAMPLAIN_LIBS) \
|
|
- -no-undefined \
|
|
+ -Wl,-no-undefined \
|
|
-avoid-version \
|
|
-export-dynamic
|
|
|