summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.arm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/conf/Makefile.arm')
-rw-r--r--sys/conf/Makefile.arm5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm
index 0d9ffc4..10a9882 100644
--- a/sys/conf/Makefile.arm
+++ b/sys/conf/Makefile.arm
@@ -44,12 +44,15 @@ LD += -EB
.if !defined(DEBUG) && !defined(PROFLEVEL)
-CFLAGS += -mno-apcs-frame
STRIP_FLAGS = -S
.endif
DDB_ENABLED!= grep DDB opt_ddb.h || true
+.if empty(DDB_ENABLED)
+CFLAGS += -mno-apcs-frame
+.endif
+
SYSTEM_LD_ = ${LD} -Bdynamic -T ldscript.$M.noheader \
-warn-common -export-dynamic -dynamic-linker /red/herring -o \
${FULLKERNEL}.noheader -X ${SYSTEM_OBJS} vers.o
OpenPOWER on IntegriCloud