mirror of
https://github.com/nasa/trick.git
synced 2024-12-19 05:07:54 +00:00
9 lines
328 B
Makefile
9 lines
328 B
Makefile
|
TRICK_CFLAGS += -g -Wall -Wextra
|
||
|
TRICK_CXXFLAGS += -g -std=c++11 -Wall -Wextra
|
||
|
# We can't yet make warnings to be errors on MacOS, because
|
||
|
# MACOS deprecates and warns about sprintf. But SWIG
|
||
|
# still generates code containing sprintf..
|
||
|
ifneq ($(TRICK_HOST_TYPE), Darwin)
|
||
|
TRICK_CXXFLAGS += -Werror -Wno-stringop-truncation
|
||
|
endif
|