Skip to content

Commit d0dd634

Browse files
authored
Merge pull request #3235 from autonomys/fix-non-skylake-builds
Fix non-Skylake Ubuntu builds
2 parents db76e5d + 2ce27fb commit d0dd634

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docker/bootstrap-node.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ RUN \
7575
if [ $BUILDARCH != "riscv64" ] && [ $TARGETARCH = "riscv64" ]; then \
7676
export RUSTFLAGS="$RUSTFLAGS -C linker=riscv64-linux-gnu-gcc" \
7777
; fi && \
78-
if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = ""]; then \
78+
if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = "" ]; then \
7979
case "$TARGETVARIANT" in \
8080
# x86-64-v2 with AES-NI
8181
"v2") export RUSTFLAGS="-C target-cpu=x86-64-v2" ;; \

docker/node.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ RUN \
7676
if [ $BUILDARCH != "riscv64" ] && [ $TARGETARCH = "riscv64" ]; then \
7777
export RUSTFLAGS="$RUSTFLAGS -C linker=riscv64-linux-gnu-gcc" \
7878
; fi && \
79-
if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = ""]; then \
79+
if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = "" ]; then \
8080
case "$TARGETVARIANT" in \
8181
# x86-64-v2 with AES-NI
8282
"v2") export RUSTFLAGS="-C target-cpu=x86-64-v2" ;; \

docker/runtime.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ RUN \
7575
if [ $BUILDARCH != "riscv64" ] && [ $TARGETARCH = "riscv64" ]; then \
7676
export RUSTFLAGS="$RUSTFLAGS -C linker=riscv64-linux-gnu-gcc" \
7777
; fi && \
78-
if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = ""]; then \
78+
if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = "" ]; then \
7979
case "$TARGETVARIANT" in \
8080
# x86-64-v2 with AES-NI
8181
"v2") export RUSTFLAGS="-C target-cpu=x86-64-v2" ;; \

0 commit comments

Comments
 (0)