Skip to content

Commit

Permalink
Fix compilation errors due to unknown pragmas (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
travislee89 authored Jul 24, 2024
1 parent ac912b7 commit 5cd7298
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions curl-static-cross.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ install_cross_compile() {

export CC=${DIR}/${SOURCE_DIR}/bin/${SOURCE_DIR}-cc \
CXX=${DIR}/${SOURCE_DIR}/bin/${SOURCE_DIR}-c++ \
CFLAGS="-O3 -Wno-error=unknown-pragmas -Wno-error=sign-compare -Wno-error=cast-align" \
STRIP=${DIR}/${SOURCE_DIR}/bin/${SOURCE_DIR}-strip \
PATH=${DIR}/${SOURCE_DIR}/bin:$PATH
}
Expand Down

0 comments on commit 5cd7298

Please sign in to comment.