diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-11-15 21:59:30 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-11-15 21:59:30 +0000 |
commit | 180812bbadb6e93f98fae6d1df4329d5589f9788 (patch) | |
tree | b274118b76b6c8109f1f3c84e5d8e9320e4e503d /lib | |
parent | 8009e3b437304fb32131cf34f6620c352787b903 (diff) |
Objects for the executable can be PIE instead of PIC, so remove the sparc64
special case; no binary change
ok kettenis@
Diffstat (limited to 'lib')
-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" || \ |