summaryrefslogtreecommitdiffstats
path: root/d
diff options
context:
space:
mode:
authorAdrien Nader <adrien@notk.org>2014-04-22 21:56:50 +0200
committerAdrien Nader <adrien@notk.org>2014-04-23 22:00:17 +0200
commit5d1c3f312854d7d11fc386d8176b58ad85400b1b (patch)
treecd313a580705cbe7a7ac148df359011bd74aa777 /d
parent3b7893b35206bdd2b42a3a800185185c5b28e619 (diff)
gcc: append "/gcc" to any $TMP value for the case where TMP=/tmp.
Diffstat (limited to 'd')
-rwxr-xr-xd/gcc/gcc.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/d/gcc/gcc.SlackBuild b/d/gcc/gcc.SlackBuild
index b4f46fa..bf1def8 100755
--- a/d/gcc/gcc.SlackBuild
+++ b/d/gcc/gcc.SlackBuild
@@ -138,7 +138,7 @@ fi
CWD=$(pwd)
# Temporary build location. This should *NOT* be a directory
# path a non-root user could create later...
-TMP=${TMP:-"/gcc-$(mcookie)"}
+TMP=${TMP:-"/gcc-$(mcookie)"}/gcc
# This is the main DESTDIR target:
PKG_GCC=$TMP/package-gcc
@@ -378,7 +378,7 @@ fi
--enable-shared \
${GCC_BOOTSTRAP} \
${GCC_ARCHOPTS} \
- --enable-threads \
+ --enable-threads=posix \
--enable-languages=${GCC_LANGUAGES} \
--enable-checking=release \
${WITH_OBJC_GC} \