Skip to content

Commit

Permalink
fix mac flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex313031 committed May 1, 2024
1 parent 8258386 commit 5727136
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions build_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ esac

buildEtcher () {
# Optimization parameters
export CFLAGS="-msse3 -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-maybe-uninitialized -Wno-cast-function-type" &&
export CXXFLAGS="-msse3 -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-maybe-uninitialized -Wno-cast-function-type" &&
export CPPFLAGS="-msse3 -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-maybe-uninitialized -Wno-cast-function-type" &&
export LDFLAGS="-Wl,-O3 -msse3 -s" &&
export CFLAGS="-msse3 -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-cast-function-type" &&
export CXXFLAGS="-msse3 -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-cast-function-type" &&
export CPPFLAGS="-msse3 -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-cast-function-type" &&
export LDFLAGS="-msse3 -s" &&
export VERBOSE=1 &&
export V=1 &&

Expand All @@ -81,10 +81,10 @@ esac

buildEtcherAVX () {
# Optimization parameters
export CFLAGS="-msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-maybe-uninitialized -Wno-cast-function-type" &&
export CXXFLAGS="-msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-maybe-uninitialized -Wno-cast-function-type" &&
export CPPFLAGS="-msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-maybe-uninitialized -Wno-cast-function-type" &&
export LDFLAGS="-Wl,-O3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -s" &&
export CFLAGS="-msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-cast-function-type" &&
export CXXFLAGS="-msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-cast-function-type" &&
export CPPFLAGS="-msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-cast-function-type" &&
export LDFLAGS="-msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -s" &&
export VERBOSE=1 &&
export V=1 &&

Expand All @@ -109,10 +109,10 @@ esac

packageEtcher () {
# Optimization parameters
export CFLAGS="-msse3 -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-maybe-uninitialized -Wno-cast-function-type" &&
export CXXFLAGS="-msse3 -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-maybe-uninitialized -Wno-cast-function-type" &&
export CPPFLAGS="-msse3 -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-maybe-uninitialized -Wno-cast-function-type" &&
export LDFLAGS="-Wl,-O3 -msse3 -s" &&
export CFLAGS="-msse3 -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-cast-function-type" &&
export CXXFLAGS="-msse3 -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-cast-function-type" &&
export CPPFLAGS="-msse3 -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-cast-function-type" &&
export LDFLAGS="-msse3 -s" &&
export VERBOSE=1 &&
export V=1 &&

Expand All @@ -137,10 +137,10 @@ esac

packageEtcherAVX () {
# Optimization parameters
export CFLAGS="-msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-maybe-uninitialized -Wno-cast-function-type" &&
export CXXFLAGS="-msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-maybe-uninitialized -Wno-cast-function-type" &&
export CPPFLAGS="-msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-maybe-uninitialized -Wno-cast-function-type" &&
export LDFLAGS="-Wl,-O3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -s" &&
export CFLAGS="-msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-cast-function-type" &&
export CXXFLAGS="-msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-cast-function-type" &&
export CPPFLAGS="-msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -O3 -g0 -s -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-cast-function-type" &&
export LDFLAGS="-msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -s" &&
export VERBOSE=1 &&
export V=1 &&

Expand Down

0 comments on commit 5727136

Please sign in to comment.