Makefile: add flag to disable C++ components

This commit is contained in:
Sakari Kapanen 2017-12-09 21:21:07 +02:00
parent 1d77f3ec1f
commit 87ed838927
2 changed files with 9 additions and 3 deletions

View file

@ -85,6 +85,8 @@ SPLIT_SECTIONS ?= 1
# compile without warnings to be accepted.
WARNINGS_AS_ERRORS ?= 0
ENABLE_CXX ?= 1
# Common flags for both C & C++_
C_CXX_FLAGS ?= -Wall -Wl,-EL -nostdlib $(EXTRA_C_CXX_FLAGS)
# Flags for C only