File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change
1
+ # This script runs `musl-cross-make` to prepare C toolchain (Binutils, GCC, musl itself)
2
+ # and builds static libunwind that we distribute for static target.
3
+ #
4
+ # Versions of the toolchain components are configurable in `musl-cross-make/Makefile` and
5
+ # musl unlike GLIBC is forward compatible so upgrading it shouldn't break old distributions.
6
+ # Right now we have: Binutils 2.27, GCC 6.3.0, musl 1.1.18
1
7
set -ex
2
8
3
9
hide_output () {
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
12
12
sudo \
13
13
gdb \
14
14
xz-utils \
15
- # for musl
16
15
wget \
17
16
patch
18
17
@@ -25,9 +24,7 @@ RUN curl -sL https://nodejs.org/dist/v9.2.0/node-v9.2.0-linux-x64.tar.xz | \
25
24
26
25
WORKDIR /build/
27
26
COPY scripts/musl-toolchain.sh /build/
28
- RUN CFLAGS="-Wa,-mrelax-relocations=no" \
29
- CXXFLAGS="-Wa,-mrelax-relocations=no" \
30
- bash musl-toolchain.sh x86_64 && rm -rf build
27
+ RUN bash musl-toolchain.sh x86_64 && rm -rf build
31
28
WORKDIR /
32
29
33
30
COPY scripts/sccache.sh /scripts/
You can’t perform that action at this time.
0 commit comments