pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mk/wrapper



Module Name:    pkgsrc
Committed By:   khorben
Date:           Thu Nov 16 00:40:07 UTC 2017

Modified Files:
        pkgsrc/mk/wrapper: arg-source

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/mk/wrapper/arg-source

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/wrapper/arg-source
diff -u pkgsrc/mk/wrapper/arg-source:1.20 pkgsrc/mk/wrapper/arg-source:1.21
--- pkgsrc/mk/wrapper/arg-source:1.20   Fri Sep 16 13:12:29 2016
+++ pkgsrc/mk/wrapper/arg-source        Thu Nov 16 00:40:07 2017
@@ -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 @@ while $test $# -gt 0; do
                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