Skip to content

Commit

Permalink
set cpp cxx flags
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 committed Jan 29, 2024
1 parent c2c91a7 commit 0c5da24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/build_linux_zig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ export CC="${ARCH}-linux-gnu-gcc"
export CXX="${ARCH}-linux-gnu-g++"
export CHOST=${ARCH}
export CFLAGS="-I${DEPSDIR}/include"
export CPPFLAGS="-I${DEPSDIR}/include"
export CXXFLAGS="${CPPFLAGS}"
export LDFLAGS="-L${DEPSDIR}/lib"
export PKG_CONFIG_PATH="${DEPSDIR}/lib/pkgconfig"

Expand Down

0 comments on commit 0c5da24

Please sign in to comment.