summaryrefslogtreecommitdiffstats
path: root/sys/modules/svr4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/svr4/Makefile')
-rw-r--r--sys/modules/svr4/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/modules/svr4/Makefile b/sys/modules/svr4/Makefile
index 6c048c7..7901455 100644
--- a/sys/modules/svr4/Makefile
+++ b/sys/modules/svr4/Makefile
@@ -10,7 +10,7 @@ SRCS= svr4_sysent.c svr4_sysvec.c opt_compat.h opt_global.h opt_vmpage.h \
OBJS= svr4_locore.o
NOMAN=1
MAN8= svr4.8
-CFLAGS+= -DKERNEL
+CFLAGS+= -D_KERNEL
MAINTAINER= newton@freebsd.org
EXPORT_SYMS=_svr4_mod
@@ -22,11 +22,11 @@ svr4_assym.h: svr4_genassym.o
genassym -o ${.TARGET} ${.ALLSRC}
svr4_locore.o: svr4_locore.s svr4_assym.h
- ${CC} -c -x assembler-with-cpp -DLOCORE -DKERNEL ${CFLAGS} \
+ ${CC} -c -x assembler-with-cpp -DLOCORE -D_KERNEL ${CFLAGS} \
${.IMPSRC} -o ${.TARGET}
svr4_genassym.o: svr4_genassym.c svr4.h @ machine
- ${CC} -c ${CFLAGS} -UKERNEL ${.IMPSRC}
+ ${CC} -c ${CFLAGS} -U_KERNEL ${.IMPSRC}
opt_compat.h:
echo "#define COMPAT_43 1" > opt_compat.h
OpenPOWER on IntegriCloud