Date: Sat, 24 Jan 2009 21:45:13 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 156622 for review Message-ID: <200901242145.n0OLjDBp077903@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=156622 Change 156622 by rwatson@rwatson_freebsd_capabilities on 2009/01/24 21:45:03 After much suffering, remember to use -Wl, for linker arguments on the gcc command line. Affected files ... .. //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/Makefile#4 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/Makefile#4 (text+ko) ==== @@ -1,5 +1,5 @@ # $FreeBSD$ -# $P4: //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/Makefile#3 $ +# $P4: //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/Makefile#4 $ WITHOUT_SSP= @@ -11,9 +11,9 @@ malloc.c xmalloc.c debug.c libmap.c NO_MAN= CSTD?= gnu99 -CFLAGS+= -Wall -DFREEBSD_ELF -DIN_RTLD +CFLAGS+= -Wall -DFREEBSD_ELF -DIN_RTLD -DIN_RTLD_CAP CFLAGS+= -I${.CURDIR}/../rtld-elf/${MACHINE_ARCH} -I${.CURDIR}/../rtld-elf -LDFLAGS+= -nostdlib -e .rtld_start -T rtld-elf-cap.xs +LDFLAGS+= -nostdlib -Wl,-e,_rtld_cap_start -Wl,-T,rtld-elf-cap.xs INSTALLFLAGS= -C -b PRECIOUSPROG= BINDIR= /libexec
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901242145.n0OLjDBp077903>