summaryrefslogtreecommitdiff
path: root/src/arch/posix
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/posix')
-rw-r--r--src/arch/posix/Makefile.inc4
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