Skip to content

Commit

Permalink
allow overrides for CC and CXX variables (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
copperlight authored Dec 8, 2024
1 parent 034476c commit a2b1a92
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ if [[ "$1" == "clean" ]]; then
fi

if [[ "$OSTYPE" == "linux-gnu"* ]]; then
export CC=gcc-13
export CXX=g++-13
# these switches are necessary for internal centos builds
if [[ -z "$CC" ]]; then export CC=gcc-13; fi
if [[ -z "$CXX" ]]; then export CXX=g++-13; fi
fi

if [[ ! -f "$HOME/.conan2/profiles/default" ]]; then
Expand Down

0 comments on commit a2b1a92

Please sign in to comment.