Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
arch/(go-non-pie-arch).sh: fix multiple typo
Browse files Browse the repository at this point in the history
  • Loading branch information
CamberLoid committed May 15, 2022
1 parent c34f47d commit f9f1eba
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arch/loongarch64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ CFLAGS_GCC_ARCH='-mabi=lp64 -march=loongarch64 -mtune=loongarch64'

# Position-independent executable buildmode is not available on loong64 architecture.
# Removing for loongarch64 target.
GOFLAGS=${GOFLGAS/-buildmode=pie/}
GOFLAGS=${GOFLAGS/-buildmode=pie/}
2 changes: 1 addition & 1 deletion arch/loongson2f.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ LDFLAGS_GCC_OPTI_LTO="${LDFLAGS_COMMON_OPTI_LTO} -mxgot -flto-partition=none "

# Position-independent executable buildmode is not available on any mips architecture.
# Removing for loongson2f target.
GOFLAGS=${GOFLGAS/-buildmode=pie/}
GOFLAGS=${GOFLAGS/-buildmode=pie/}
2 changes: 1 addition & 1 deletion arch/loongson3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ RUSTFLAGS_COMMON_OPTI_LTO="${RUSTFLAGS_COMMON_OPTI_LTO} -Clink-arg=-Wl,-build-id

# Position-independent executable buildmode is not available on any mips architecture.
# Removing for loongson3 target.
GOFLAGS=${GOFLGAS/-buildmode=pie/}
GOFLAGS=${GOFLAGS/-buildmode=pie/}
2 changes: 1 addition & 1 deletion arch/powerpc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ CFLAGS_COMMON_ARCH=' -m32 -mcpu=G3 -mtune=G4 -mno-altivec -msecure-plt -mhard-fl

# Position-independent executable buildmode is not available on PowerPC 32-bit architecture.
# Removing for powerpc target.
GOFLAGS=${GOFLGAS/-buildmode=pie/}
GOFLAGS=${GOFLAGS/-buildmode=pie/}
2 changes: 1 addition & 1 deletion arch/ppc64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ RUSTFLAGS_COMMON_OPTI_LTO='-Clink-arg=-fuse-ld=bfd -Clink-arg=-Wl,-build-id=sha1

# Position-independent executable buildmode is not available on PowerPC 64-bit
# (Big Endian) architecture. Removing for ppc64 target.
GOFLAGS=${GOFLGAS/-buildmode=pie/}
GOFLAGS=${GOFLAGS/-buildmode=pie/}

0 comments on commit f9f1eba

Please sign in to comment.