View | Details | Raw Unified | Return to bug 224514
Collapse All | Expand All

(-)b/devel/libtool/Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	libtool
4
PORTNAME=	libtool
5
PORTREVISION=	0
5
PORTREVISION=	1
6
6
7
COMMENT=	Generic shared library support script
7
COMMENT=	Generic shared library support script
8
8
(-)b/devel/libtool/files/patch-build-aux-ltmain.sh (+15 lines)
Added Link Here
1
--- build-aux/ltmain.sh.orig	2017-12-21 21:46:51.958583000 -0500
2
+++ build-aux/ltmain.sh	2017-12-21 21:47:57.258435000 -0500
3
@@ -7273,9 +7273,11 @@
4
       # --sysroot=*          for sysroot support
5
       # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
6
       # -stdlib=*            select c++ std lib with clang
7
+      # -fuse-ld=*           Linker select flags for GCC
8
       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
9
       -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
10
-      -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
11
+      -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
12
+      -fuse-ld=*)
13
         func_quote_for_eval "$arg"
14
 	arg=$func_quote_for_eval_result
15
         func_append compile_command " $arg"

Return to bug 224514