From 60164e0ed723753f0d38c97acf3c8efe29c9b735 Mon Sep 17 00:00:00 2001 From: sthen Date: Tue, 25 Apr 2017 21:13:15 +0000 Subject: [PATCH] Have libtool ignore 'static-libtool-libs'. Previously it was unsupported and passed straight through to the compiler, which gcc doesn't mind, but clang is unhappy about. Suggestion/ok aja@ --- usr.bin/libtool/LT/Mode/Link.pm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/usr.bin/libtool/LT/Mode/Link.pm b/usr.bin/libtool/LT/Mode/Link.pm index 56cf7a570c1..7413707b7fa 100644 --- a/usr.bin/libtool/LT/Mode/Link.pm +++ b/usr.bin/libtool/LT/Mode/Link.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Link.pm,v 1.34 2016/12/25 13:46:18 zhuk Exp $ +# $OpenBSD: Link.pm,v 1.35 2017/04/25 21:13:15 sthen Exp $ # # Copyright (c) 2007-2010 Steven Mestdagh # Copyright (c) 2012 Marc Espie @@ -150,13 +150,15 @@ sub run 'R:@', 'shrext:', 'static', + 'static-libtool-libs', 'thread-safe', # XXX and --thread-safe ? 'version-info:', 'version-number:'); # XXX options ignored: bindir, dlopen, dlpreopen, no-fast-install, - # no-install, no-undefined, precious-files-regex, - # shrext, thread-safe, prefer-pic, prefer-non-pic + # no-install, no-undefined, precious-files-regex, + # shrext, thread-safe, prefer-pic, prefer-non-pic, + # static-libtool-libs my @RPopts = $gp->rpath; # -rpath options my @Ropts = $gp->R; # -R options on the command line -- 2.20.1