diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-13 16:49:53 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-13 16:49:53 +0000 |
commit | 73f77ef5abffc4c11650f912c046e08310f9ab22 (patch) | |
tree | e542180a119384cdf921241f916f1b33bd30a299 /mk | |
parent | 908dc72176c2b5a8f54a95f590be872a3cda1119 (diff) | |
download | pkgsrc-73f77ef5abffc4c11650f912c046e08310f9ab22.tar.gz |
Change "-I dir" to "-Idir" (same for -L/-R) so that the .transform.sed
script will understand these commands.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink3/marshall | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mk/buildlink3/marshall b/mk/buildlink3/marshall index 3af3040ac30..27c8957a0ab 100644 --- a/mk/buildlink3/marshall +++ b/mk/buildlink3/marshall @@ -1,4 +1,4 @@ -# $NetBSD: marshall,v 1.8 2004/02/09 04:35:12 jlam Exp $ +# $NetBSD: marshall,v 1.9 2004/02/13 16:49:53 jlam Exp $ # # Handle cases where multiple consecutive arguments must be processed # together, either by merging the arguments or "skipping" the extra @@ -6,6 +6,14 @@ # case $arg in # +# If we see "-I dir" (or -L/-R), we convert it to "-Idir" so that it may be +# transformed correctly. +# +-[ILR]) + arg="$arg$1" + shift + ;; +# # Merge "-Wl,R -Wl,/path/to/dir" into a single argument # "-Wl,R/path/to/dir" and merge "-Wl,--rpath -Wl,/path/to/dir" into # "-Wl,--rpath,/path/to/dir" so that we can look them up in the cache. |