summaryrefslogtreecommitdiffstats
path: root/share/mk/sys.mk
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/sys.mk')
-rw-r--r--share/mk/sys.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index e6368ba..a4b429b 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -41,6 +41,7 @@ RANLIB ?= ranlib
AS ?= as
AFLAGS ?=
+ACFLAGS ?=
.if defined(%POSIX)
CC ?= c89
@@ -275,13 +276,13 @@ YFLAGS ?= -d
${FC} ${RFLAGS} ${EFLAGS} ${FFLAGS} -c ${.IMPSRC}
.S.o:
- ${CC} ${CFLAGS} -c ${.IMPSRC}
+ ${CC} ${CFLAGS} ${ACFLAGS} -c ${.IMPSRC}
@[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
(${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
.asm.o:
- ${CC} -x assembler-with-cpp ${CFLAGS} -c ${.IMPSRC}
+ ${CC} -x assembler-with-cpp ${CFLAGS} ${ACFLAGS} -c ${.IMPSRC}
@[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
(${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
OpenPOWER on IntegriCloud