Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions mk/flags.mk
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ YYFLAGS += -Wno-other # --debug --verbose
LLFLAGS +=
LDFLAGS += $(MARCH)


# do not cause the "free nonheap object"-waning to cause an error
# code generated by bison may cause gcc11 to errornously detect such a condition.
ifeq "$(CXX)" "g++"
CXXFLAGS += -Wno-free-nonheap-object
endif

# Add boost library search path.
# This is the defualt installation location by home brew.
ifeq "$(is_darwin)" "1"
Expand Down