Merge pull request #1481 from alanvgreen/with-cxx

soc/software/demo/Makefile: define WITH_CXX
This commit is contained in:
enjoy-digital 2022-10-30 21:25:37 +01:00 committed by GitHub
commit 9497b0cdf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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