Fix adding build-compiler-rt.sh after wiping the build dir
With newer docker versions, "COPY foo .", when the workdir doesn't exist, produces a plain file named as the workdir, breaking the rest of the build.
This commit is contained in:
1 parent
3c6e1fe8bc
commit
e9d8d57ec6
1 file changed
+1
-1
+1
-1
@@ -44,7 +44,7 @@ RUN ./build-libcxx.sh $TOOLCHAIN_PREFIX && \
|
|||||||
rm -rf /build
|
rm -rf /build
|
||||||
|
|
||||||
# Build sanitizers
|
# Build sanitizers
|
||||||
COPY build-compiler-rt.sh .
|
COPY build-compiler-rt.sh ./
|
||||||
RUN ./build-compiler-rt.sh $TOOLCHAIN_PREFIX --build-sanitizers && \
|
RUN ./build-compiler-rt.sh $TOOLCHAIN_PREFIX --build-sanitizers && \
|
||||||
rm -rf /build
|
rm -rf /build
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user