diff options
author | 2014-11-15 21:59:29 +0000 | |
---|---|---|
committer | 2014-11-15 21:59:29 +0000 | |
commit | 87d547a3139e20778c319281b7334ce9668bc0ca (patch) | |
tree | b71b0415faf4e8af72b39207f35fb80c9c95b79b | |
parent | Pull in sys/types.h for the necessary typedefs (diff) | |
download | wireguard-openbsd-87d547a3139e20778c319281b7334ce9668bc0ca.tar.xz wireguard-openbsd-87d547a3139e20778c319281b7334ce9668bc0ca.zip |
Objects for the executable can be PIE instead of PIC, so remove the sparc64
special case; no binary change
ok kettenis@
-rw-r--r-- | lib/csu/Makefile | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/csu/Makefile b/lib/csu/Makefile index fe08ffab1dd..4e46d296312 100644 --- a/lib/csu/Makefile +++ b/lib/csu/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.19 2014/11/15 01:40:07 guenther Exp $ +# $OpenBSD: Makefile,v 1.20 2014/11/15 21:59:29 guenther Exp $ OBJS= crt0.o gcrt0.o OBJS+= crtbegin.o crtend.o @@ -25,14 +25,6 @@ CFLAGS+= -fpie CFLAGS+= -fpie .endif -# Override sparc64 default of -fPIE -# XXX Why do we need to compile the csu bits that are linked into the -# *executable* with -fPIC and not just the default of -fPIE? The -# bits for shared libraries are handled below. -.if ${MACHINE_ARCH} == "sparc64" -CFLAGS+= -fPIC -.endif - .ifdef NOPIC PICFLAG= .elif ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc" || \ |