summaryrefslogtreecommitdiff
path: root/editors/abiword/patches/patch-plugins_paint_Makefile.am
blob: 90e24facd47acff3a28cc1e0b901a27718c92024 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-plugins_paint_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/paint/Makefile.am.orig	2011-11-15 21:25:46.000000000 +0000
+++ plugins/paint/Makefile.am
@@ -20,7 +20,7 @@ paint_la_LIBADD = \
 paint_la_LDFLAGS = \
 	-avoid-version \
 	-module \
-	-no-undefined
+	-Wl,-no-undefined
 
 paint_la_SOURCES = 
 nodist_EXTRA_paint_la_SOURCES = dummy.cpp