Skip to content

Commit

Permalink
Avoid remaining warnings on FreeBsd
Browse files Browse the repository at this point in the history
  • Loading branch information
brummer10 committed Aug 9, 2024
1 parent d5f3615 commit 34913a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Ratatouille/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,13 @@ ifeq ($(TARGET), Linux)

ifneq ($(UNAME_S), FreeBSD)
ifeq (,$(findstring clang, $(CXX)))
CXXFLAGS += -fstrength-reduce -fno-fat-lto-objects -Wno-vla-cxx-extension -Wno-nan-infinity-disabled
CXXFLAGS += -fstrength-reduce -fno-fat-lto-objects -Wno-deprecated-declarations
else
CXXFLAGS += -Wno-unused-private-field -fdenormal-fp-math=positive-zero
endif
else
CXXFLAGS += -Wno-unused-private-field -fdenormal-fp-math=positive-zero
CXXFLAGS += -Wno-unused-private-field -fdenormal-fp-math=positive-zero \
-Wno-vla-cxx-extension -Wno-nan-infinity-disabled
endif

SLP_LDFLAGS += -fvisibility=hidden -Wl,-Bstatic `pkg-config --cflags --libs xputty` \
Expand Down

0 comments on commit 34913a8

Please sign in to comment.