Skip to content

Commit

Permalink
Temporary fix to add ffp-contract=off flag on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
gvoskuilen committed Oct 31, 2023
1 parent a44ad53 commit 51f2786
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ CXXFLAGS="$CXXFLAGS -std=c++17"
# [CXXFLAGS="$CXXFLAGS $SST_CXX1Y_FLAGS"],
# [CXXFLAGS="$CXXFLAGS $SST_CXX0X_FLAGS"])

# Temporary fix to ensure tests pass with newer Apple clang compiler
case "${host_os}" in
darwin*)
CXXFLAGS="$CXXFLAGS -ffp-contract=off"
;;
esac

SST_CHECK_PICKY
AS_IF([test "x$use_picky" = "xyes"],
[WARNFLAGS="-Wall -Wextra"],
Expand Down

0 comments on commit 51f2786

Please sign in to comment.