From: Nathan Sidwell Date: Tue, 15 Dec 2020 19:29:44 +0000 (-0800) Subject: libcody: Fix for dash X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e48456f568ac4a4dde0b17766b28eadc91daf7f2;p=gcc.git libcody: Fix for dash Apparently 'var+=...' is not a dash thing. Fixed thusly. * config.m4: Avoid non-dash idiom * configure: Rebuilt. --- diff --git a/libcody/config.m4 b/libcody/config.m4 index 364195a9f0b..0ae7b2665f0 100644 --- a/libcody/config.m4 +++ b/libcody/config.m4 @@ -35,7 +35,8 @@ if test "$tools" && test -d "$tools/lib" ; then if os=$(CXX -print-multi-os-directory 2>/dev/null) ; then toollib+="/${os}" fi - LDFLAGS+=" -L $toollib" + ## VAR+=... is not dashing + LDFLAGS="$LDFLAGS -L $toollib" unset toollib fi]) diff --git a/libcody/configure b/libcody/configure index 35fd4e9db7e..8f22dd78134 100755 --- a/libcody/configure +++ b/libcody/configure @@ -2632,7 +2632,8 @@ if test "$tools" && test -d "$tools/lib" ; then if os=$(CXX -print-multi-os-directory 2>/dev/null) ; then toollib+="/${os}" fi - LDFLAGS+=" -L $toollib" + ## VAR+=... is not dashing + LDFLAGS="$LDFLAGS -L $toollib" unset toollib fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking adding -Wl,--no-undefined to linker" >&5