diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-01-12 09:53:54 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-01-12 09:53:54 +0100 |
commit | c00a200c508e18c41b6c55506ee35a2f21a6fa57 (patch) | |
tree | a96264d9b95038199b282b5a716b78bf217cf43c /src/arch/posix | |
parent | f9d2d27ff67b6cecf9b969617bc2355bb9e2273c (diff) |
add optional aspectc++ support
Diffstat (limited to 'src/arch/posix')
-rw-r--r-- | src/arch/posix/Makefile.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/posix/Makefile.inc b/src/arch/posix/Makefile.inc index 37c8e0e..a706314 100644 --- a/src/arch/posix/Makefile.inc +++ b/src/arch/posix/Makefile.inc @@ -3,6 +3,10 @@ CC = gcc CXX = g++ +ifeq (${aspectc}, 1) + CXX = ag++ -r build/repo.acp -v 0 -p . --Xcompiler +endif + INCLUDES += -Iinclude/posix TARGETS += src/arch/posix/arch.cc src/arch/posix/driver/gpio.cc TARGETS += src/arch/posix/driver/stdout.cc src/arch/posix/driver/uptime.cc |