mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
soc/software/demo/Makefile: define WITH_CXX
Defines WITH_CXX to the C compiler when including hello.cpp in the demo. This fixes a bug wahere the the menu did not include the hellocpp item even when --with-cpp was passed to demo.py Signed-off-by: Alan Green <alan.green@gmail.com>
This commit is contained in:
parent
2086cced22
commit
57a35d7a70
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ include $(SOC_DIRECTORY)/software/common.mak
|
|||
OBJECTS = donut.o helloc.o crt0.o main.o
|
||||
ifdef WITH_CXX
|
||||
OBJECTS += hellocpp.o
|
||||
CFLAGS += -DWITH_CXX
|
||||
endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue