pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/wrapper Recognize more situations where not linking...
details: https://anonhg.NetBSD.org/pkgsrc/rev/eb731ab9b77b
branches: trunk
changeset: 371631:eb731ab9b77b
user: khorben <khorben%pkgsrc.org@localhost>
date: Thu Nov 16 00:40:07 2017 +0000
description:
Recognize more situations where not linking executables
This is only relevant for PKGSRC_MKPIE. It partly reflects a fix that
was committed to the cwrappers for MKPIE, where the "-pie" flag was
automatically added in spite of the linker not actually creating an
executable.
diffstat:
mk/wrapper/arg-source | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 1aa1fa8f432d -r eb731ab9b77b mk/wrapper/arg-source
--- a/mk/wrapper/arg-source Thu Nov 16 00:36:10 2017 +0000
+++ b/mk/wrapper/arg-source Thu Nov 16 00:40:07 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: arg-source,v 1.20 2016/09/16 13:12:29 ryoon Exp $
+# $NetBSD: arg-source,v 1.21 2017/11/16 00:40:07 khorben Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -178,7 +178,7 @@
append_queue argbuf "$arg"
$debug_log $wrapperlog " (arg-source) push: $arg"
;;
- -shared)
+ -Wl,-N|-Wl,-r|-shared)
dont_link_binary=yes
append_queue argbuf "$arg"
$debug_log $wrapperlog " (arg-source) push: $arg"
Home |
Main Index |
Thread Index |
Old Index