Skip to content

Commit

Permalink
fix arm builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex313031 committed Mar 1, 2024
1 parent b349eef commit 0690730
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ printf "${bold}${GRE}Building Codium for Linux...${c0}\n" &&
printf "\n" &&
tput sgr0 &&

export CFLAGS="-DNDEBUG -march=armv8-a+simd -O3 -g0 -s" &&
export CXXFLAGS="-DNDEBUG -march=armv8-a+simd -O3 -g0 -s" &&
export CPPFLAGS="-DNDEBUG -march=armv8-a+simd -O3 -g0 -s" &&
export LDFLAGS="-Wl,-O3 -march=armv8-a+simd -s" &&
export CFLAGS="-DNDEBUG -O3 -g0 -s" &&
export CXXFLAGS="-DNDEBUG -O3 -g0 -s" &&
export CPPFLAGS="-DNDEBUG -O3 -g0 -s" &&
export LDFLAGS="-Wl,-O3 -s" &&

. ./build/build.sh -s -a
}
Expand Down Expand Up @@ -178,10 +178,10 @@ printf "${bold}${GRE}Building Codium for MacOS (arm64 version)...${c0}\n" &&
printf "\n" &&
tput sgr0 &&

export CFLAGS="-DNDEBUG -march=armv8.3-a+simd -O3 -g0 -s -Wno-unused-command-line-argument" &&
export CXXFLAGS="-DNDEBUG -march=armv8.3-a+simd -O3 -g0 -s -Wno-unused-command-line-argument" &&
export CPPFLAGS="-DNDEBUG -march=armv8.3-a+simd -O3 -g0 -s -Wno-unused-command-line-argument" &&
export LDFLAGS="-march=armv8.3-a+simd -s" &&
export CFLAGS="-DNDEBUG -O3 -g0 -s -Wno-unused-command-line-argument" &&
export CXXFLAGS="-DNDEBUG -O3 -g0 -s -Wno-unused-command-line-argument" &&
export CPPFLAGS="-DNDEBUG -O3 -g0 -s -Wno-unused-command-line-argument" &&
export LDFLAGS="-s" &&

. ./build/build.sh -s -a
}
Expand Down

0 comments on commit 0690730

Please sign in to comment.