summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorkhronosschoty <khronosschoty@posteo.org>2017-12-22 09:13:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-22 09:13:32 +0700
commitf6baca99c95853b155f2dffc85e0dc80dcc84572 (patch)
tree52a6ed3f3ff2bc4ecbd6e376d17821c49c8ffdb3 /development
parente0425e15e1b8185214e507c091531248e7d6d8bc (diff)
downloadslackbuilds-f6baca99c95853b155f2dffc85e0dc80dcc84572.tar.gz
development/gcclegacy494: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/gcclegacy494/gcclegacy494.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/development/gcclegacy494/gcclegacy494.SlackBuild b/development/gcclegacy494/gcclegacy494.SlackBuild
index 3e148854f4..af99b1cd71 100644
--- a/development/gcclegacy494/gcclegacy494.SlackBuild
+++ b/development/gcclegacy494/gcclegacy494.SlackBuild
@@ -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"