aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linux64
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2016-02-25 19:26:14 +0000
committerEd Maste <emaste@FreeBSD.org>2016-02-25 19:26:14 +0000
commit621a9c54ddbc62bd047d5f787e78cc1954e5b153 (patch)
treecfa4692e007dde66f7413183e69f77c858a1647c /sys/modules/linux64
parent7880fc113fcdf97f2278dd0711dd48d8d8ceed8a (diff)
downloadsrc-621a9c54ddbc62bd047d5f787e78cc1954e5b153.tar.gz
src-621a9c54ddbc62bd047d5f787e78cc1954e5b153.zip
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 3ee99857d10e..1693a509e9c4 100644
--- a/sys/modules/linux64/Makefile
+++ b/sys/modules/linux64/Makefile
@@ -27,9 +27,9 @@ 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 -nostdinc \
+ -pipe -I. -I${SYSDIR} -Werror -Wall -fno-common -fPIC -nostdinc \
-Wl,-T${.CURDIR}/../../${MACHINE_CPUARCH}/linux/${VDSO}.lds.s \
- -Wl,-soname=${VDSO}.so.1,-fPIC,-warn-common -nostdlib \
+ -Wl,-soname=${VDSO}.so.1,-warn-common -nostdlib \
${.IMPSRC} -o ${.TARGET}
${VDSO}.so: linux_locore.o