summaryrefslogtreecommitdiff
path: root/editors/abiword/patches/patch-plugins_ots_Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'editors/abiword/patches/patch-plugins_ots_Makefile.am')
-rw-r--r--editors/abiword/patches/patch-plugins_ots_Makefile.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/abiword/patches/patch-plugins_ots_Makefile.am b/editors/abiword/patches/patch-plugins_ots_Makefile.am
new file mode 100644
index 00000000000..5f88c5055bf
--- /dev/null
+++ b/editors/abiword/patches/patch-plugins_ots_Makefile.am
@@ -0,0 +1,13 @@
+$NetBSD: patch-plugins_ots_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.
+--- plugins/ots/Makefile.am.orig 2011-11-15 21:25:46.000000000 +0000
++++ plugins/ots/Makefile.am
+@@ -9,6 +9,7 @@ ots_la_LIBADD = \
+ $(OTS_LIBS)
+
+ ots_la_LDFLAGS = \
++ -Wl, \
+ -avoid-version \
+ -module \
+ -no-undefined