Merge pull request #1481 from alanvgreen/with-cxx
soc/software/demo/Makefile: define WITH_CXX
This commit is contained in:
commit
9497b0cdf5
|
@ -6,6 +6,7 @@ include $(SOC_DIRECTORY)/software/common.mak
|
||||||
OBJECTS = donut.o helloc.o crt0.o main.o
|
OBJECTS = donut.o helloc.o crt0.o main.o
|
||||||
ifdef WITH_CXX
|
ifdef WITH_CXX
|
||||||
OBJECTS += hellocpp.o
|
OBJECTS += hellocpp.o
|
||||||
|
CFLAGS += -DWITH_CXX
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue