diff options
-rw-r--r-- | sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch b/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch index d70b1b7befc2..ce1cb4698dd6 100644 --- a/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch +++ b/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch @@ -5,7 +5,7 @@ CC_quoted="$CC_quoted $arg" done + # user sometimes does CC=<HOST>-gcc so we need to match that to 'gcc' -+ trimedcc=`echo ${CC} | $SED -e "/${host}-//g"` ++ trimedcc=`echo ${CC} | $SED -e "s/${host}-//g"` + # and sometimes libtool has CC=<HOST>-gcc but user does CC=gcc + extendcc=${host}-${CC} case "$@ " in |