rtld-elf: -e is an ld(1) option.
authorSascha Wildner <saw@online.de>
Fri, 18 May 2018 12:15:29 +0000 (14:15 +0200)
committerSascha Wildner <saw@online.de>
Fri, 18 May 2018 12:15:29 +0000 (14:15 +0200)
libexec/rtld-elf/Makefile

index da4fd6a..d13f95a 100644 (file)
@@ -24,7 +24,7 @@ LDFLAGS+=     -flto
 CFLAGS+=       -DIN_RTLD
 CFLAGS+=       -I${.CURDIR}/${MACHINE_ARCH} -I${.CURDIR} -D__thread=
 CFLAGS+=       -I${.CURDIR}/../../lib/csu/common
-LDFLAGS+=      -nostdlib -e .rtld_start -Wl,--no-undefined
+LDFLAGS+=      -nostdlib -Wl,-e.rtld_start,--no-undefined
 INSTALLFLAGS=  -C -b
 .ifndef NOFSCHG
 INSTALLFLAGS+= -fschg