summaryrefslogtreecommitdiff
path: root/usr.sbin/afs/libarla/Makefile.lwp.inc
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/afs/libarla/Makefile.lwp.inc')
-rw-r--r--usr.sbin/afs/libarla/Makefile.lwp.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/afs/libarla/Makefile.lwp.inc b/usr.sbin/afs/libarla/Makefile.lwp.inc
index 6f585eb538d..02e886fac1c 100644
--- a/usr.sbin/afs/libarla/Makefile.lwp.inc
+++ b/usr.sbin/afs/libarla/Makefile.lwp.inc
@@ -3,7 +3,7 @@ SRCS += lwp.c lock.c iomgr.c timer.c fasttime.c preempt.c q.c
OBJS += process.o
CLEANFILES += process.o
.PATH: ${.CURDIR}/../src/lwp
-CFLAGS += -DFD_SPEED_HACK -I${.CURDIR}/../src/lwp
+CFLAGS += -DAFS_BSD_ENV -DFD_SPEED_HACK -I${.CURDIR}/../src/lwp
process.o: process.S
@@ -20,4 +20,4 @@ process.o: process.S
*) echo "Unknown host_cpu, good luck" ;; \
esac; \
OSDEF="-DAFS_NETBSD_ENV"; \
- ${CC} $$CPUDEF $$OSDEF -c ${.CURDIR}/../src/lwp/process.S
+ ${CC} ${CFLAGS} $$CPUDEF $$OSDEF -c ${.CURDIR}/../src/lwp/process.S