summaryrefslogtreecommitdiffstats
path: root/chromium/build/chromium.SlackBuild
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2021-05-28 12:07:36 +0000
committer Eric Hameleers <alien@slackware.com>2021-05-28 12:07:36 +0000
commitb54946e04ef798b55d2b4499572331a015909f66 (patch)
tree4dfc916c6d8adba6d44dec69464f46bc7e220c75 /chromium/build/chromium.SlackBuild
parent29e279d34613d1318e2c748ce843ce4a75c0f1a2 (diff)
downloadasb-b54946e04ef798b55d2b4499572331a015909f66.tar.gz
asb-b54946e04ef798b55d2b4499572331a015909f66.tar.xz
chromium: document the ugly hack to get the 32bit compilation to succeed
Diffstat (limited to '')
-rwxr-xr-xchromium/build/chromium.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/build/chromium.SlackBuild b/chromium/build/chromium.SlackBuild
index d6865026..047e6189 100755
--- a/chromium/build/chromium.SlackBuild
+++ b/chromium/build/chromium.SlackBuild
@@ -1025,6 +1025,9 @@ ulimit -n 2048
if [ ${USE_CLANG} -eq 1 ]; then
# Build clang from source instead of downloading:
echo "-- Building google's clang toolchain."
+ # Actually 32bit compilation fails by not finding 'bits/c++config.h'.
+ # I could only work around this using a kludge:
+ # cp -ia /usr/include/c++/$(gcc -dumpversion)/${TARGET}/bits/* /usr/include/c++/$(gcc -dumpversion)/bits/
LDFLAGS="$LDFLAGS" \
python2 tools/clang/scripts/build.py \
--bootstrap \