Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MintoDA1 authored and MintoDA1 committed Aug 21, 2023
1 parent 52d4acc commit 8bd2f9b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions buildscripts/set_compilers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ case $OS in
CPP=${CPP:-$(command -v cpp)}
;;
MacOSX)

if $(brew --version &> /dev/null); then
brew install llvm@16 libomp
else
Expand All @@ -112,8 +111,7 @@ case $OS in
CPATH="${FROOT}/include:${CPATH}"
CXXFLAGS="${CFLAGS} ${CXXFLAGS}"
FCFLAGS="${CFLAGS} ${FCFLAGS}"
CFLAGS="-mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET} ${CFLAGS} -Wno-deprecated-non-prototype"
fi
CFLAGS="-mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET} -Wno-deprecated-non-prototype ${CFLAGS}"
;;
*)
printf "Unknown compiler type: ${OS}\n"
Expand All @@ -122,4 +120,4 @@ case $OS in
exit 1
;;
esac
F77=${FC}
F77=${FC}

0 comments on commit 8bd2f9b

Please sign in to comment.