summaryrefslogtreecommitdiff
path: root/editors/abiword/patches/patch-src_Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'editors/abiword/patches/patch-src_Makefile.am')
-rw-r--r--editors/abiword/patches/patch-src_Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/abiword/patches/patch-src_Makefile.am b/editors/abiword/patches/patch-src_Makefile.am
new file mode 100644
index 00000000000..d74964d32b1
--- /dev/null
+++ b/editors/abiword/patches/patch-src_Makefile.am
@@ -0,0 +1,14 @@
+$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
+