Skip to content

Commit 9505168

Browse files
committed
build: Drop old hack which is unneeded now
This hack is described in #8188. The current implementation was introduced in #8315.
1 parent 8db2334 commit 9505168

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

contrib/gitian-descriptors/gitian-linux.yml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ packages:
2020
- "g++-8-riscv64-linux-gnu"
2121
- "gcc-8-riscv64-linux-gnu"
2222
- "binutils-riscv64-linux-gnu"
23-
- "g++-8-multilib"
24-
- "gcc-8-multilib"
2523
- "binutils-gold"
2624
- "git"
2725
- "pkg-config"
@@ -93,45 +91,11 @@ script: |
9391
create_per-host_faketime_wrappers "2000-01-01 12:00:00"
9492
export PATH=${WRAP_DIR}:${PATH}
9593
96-
EXTRA_INCLUDES_BASE=$WRAP_DIR/extra_includes
97-
mkdir -p $EXTRA_INCLUDES_BASE
98-
99-
# x86 needs /usr/include/i386-linux-gnu/asm pointed to /usr/include/x86_64-linux-gnu/asm,
100-
# but we can't write there. Instead, create a link here and force it to be included in the
101-
# search paths by wrapping gcc/g++.
102-
103-
mkdir -p $EXTRA_INCLUDES_BASE/i686-pc-linux-gnu
104-
rm -f $WRAP_DIR/extra_includes/i686-pc-linux-gnu/asm
105-
ln -s /usr/include/x86_64-linux-gnu/asm $EXTRA_INCLUDES_BASE/i686-pc-linux-gnu/asm
106-
107-
for prog in gcc g++; do
108-
rm -f ${WRAP_DIR}/${prog}
109-
cat << EOF > ${WRAP_DIR}/${prog}
110-
#!/usr/bin/env bash
111-
REAL="$(which -a ${prog}-8 | grep -v ${WRAP_DIR}/${prog} | head -1)"
112-
for var in "\$@"
113-
do
114-
if [ "\$var" = "-m32" ]; then
115-
export C_INCLUDE_PATH="$EXTRA_INCLUDES_BASE/i686-pc-linux-gnu"
116-
export CPLUS_INCLUDE_PATH="$EXTRA_INCLUDES_BASE/i686-pc-linux-gnu"
117-
break
118-
fi
119-
done
120-
\$REAL \$@
121-
EOF
122-
chmod +x ${WRAP_DIR}/${prog}
123-
done
124-
12594
cd bitcoin
12695
BASEPREFIX="${PWD}/depends"
12796
# Build dependencies for each host
12897
for i in $HOSTS; do
129-
EXTRA_INCLUDES="$EXTRA_INCLUDES_BASE/$i"
130-
if [ -d "$EXTRA_INCLUDES" ]; then
131-
export HOST_ID_SALT="$EXTRA_INCLUDES"
132-
fi
13398
make ${MAKEOPTS} -C ${BASEPREFIX} HOST="${i}"
134-
unset HOST_ID_SALT
13599
done
136100
137101
# Faketime for binaries

0 commit comments

Comments
 (0)