Makefile: add flag to disable C++ components
This commit is contained in:
parent
1d77f3ec1f
commit
87ed838927
2 changed files with 9 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue