blob: d74964d32b1f0f63b9a99263899495b0c8d955bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
|