aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linux64
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-01-29 01:59:04 +0000
committerEd Maste <emaste@FreeBSD.org>2018-01-29 01:59:04 +0000
commit48bc159f28922ade212a5ed3328b431f31fd1157 (patch)
tree2cbe0ad68b774e77a81b61c18a915f6a9b8929e7 /sys/modules/linux64
parentd54cfbd18e97fb6c38f03984fe0a7305d84ade07 (diff)
Notes
Diffstat (limited to 'sys/modules/linux64')
-rw-r--r--sys/modules/linux64/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/linux64/Makefile b/sys/modules/linux64/Makefile
index a33ae54f760d..bb4e65ad85e6 100644
--- a/sys/modules/linux64/Makefile
+++ b/sys/modules/linux64/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-.PATH: ${SRCTOP}/sys/compat/linux ${SRCTOP}/sys/${MACHINE_ARCH}/linux
+.PATH: ${SRCTOP}/sys/compat/linux ${SRCTOP}/sys/${MACHINE}/linux
VDSO= linux_vdso
@@ -31,7 +31,7 @@ linux_assym.h: linux_genassym.o
linux_locore.o: linux_locore.s linux_assym.h
${CC} -x assembler-with-cpp -DLOCORE -shared -mcmodel=small \
-pipe -I. -I${SYSDIR} -Werror -Wall -fno-common -fPIC -nostdinc \
- -Wl,-T${SRCTOP}/sys/${MACHINE_CPUARCH}/linux/${VDSO}.lds.s \
+ -Wl,-T${SRCTOP}/sys/${MACHINE}/linux/${VDSO}.lds.s \
-Wl,-soname=${VDSO}.so.1,-warn-common -nostdlib \
${.IMPSRC} -o ${.TARGET}