Skip to content

Commit

Permalink
Update compiler flags
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Aug 28, 2023
1 parent cf154c9 commit dc97e07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cpp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ else
# Release compiler flags
CXXFLAGS += -O3 -Wall -Werror -Wextra -DNDEBUG
endif
ifeq ("$(shell uname -s)","Linux")
# -Wno-psabi might not work on non-Linux platforms
CXXFLAGS += -Wno-psabi
endif

CXXFLAGS += -std=c++20 -iquote . -D_FILE_OFFSET_BITS=64 -DFMT_HEADER_ONLY -MD -MP

Expand Down

0 comments on commit dc97e07

Please sign in to comment.