mirror of
https://github.com/nasa/trick.git
synced 2025-01-21 12:05:13 +00:00
10 lines
357 B
Makefile
10 lines
357 B
Makefile
TRICK_CFLAGS += -g -Wall -Wextra
|
|
TRICK_CXXFLAGS += -g -std=c++11 -Wall -Wextra -Wno-error=unused-parameter
|
|
# 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
|
|
|