development/gcclegacy494: Update script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
khronosschoty 2017-12-22 09:13:32 +07:00 committed by Willy Sudiarto Raharjo
parent e0425e15e1
commit f6baca99c9
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ cp -v gcc/Makefile.in{,.orig}
sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig > gcc/Makefile.in
# Apply patches if we are compiling against glibc 2.26
if [ $(ldd --version | head -1) = 'ldd (GNU libc) 2.26' ]; then
if [ "$(ldd --version | head -1)" = 'ldd (GNU libc) 2.26' ]; then
patch -p1 -i "$CWD/942-asan-fix-missing-include-signal-h.patch"
patch -p1 -i "$CWD/943-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch"
patch -p1 -i "$CWD/944-sanitizer-linux.patch"