diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-09-23 02:24:08 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-09-23 02:24:08 +0000 |
commit | fc3a91a53c5f781c8ecc93f597f58ea8de256f3c (patch) | |
tree | bfe1cd63840036fccd3a612b5aaae7be25d263e4 /libexec/ld.so | |
parent | 0ff91c3df960bb9d5b25c674b2f7e10e06c07816 (diff) |
pass appropriate compilation flags for sparc64. needs to be compiled PIC.
both C and asm files.
Diffstat (limited to 'libexec/ld.so')
-rw-r--r-- | libexec/ld.so/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libexec/ld.so/Makefile b/libexec/ld.so/Makefile index 0d5bae7a710..a4b5421c003 100644 --- a/libexec/ld.so/Makefile +++ b/libexec/ld.so/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2001/07/20 20:16:29 mickey Exp $ +# $OpenBSD: Makefile,v 1.9 2001/09/23 02:24:07 drahn Exp $ SUBDIR=libdl ldconfig ldd VPATH=${.CURDIR}/../../lib/libc/string:${.CURDIR}/../../sys/lib/libsa @@ -9,6 +9,10 @@ SRCS+= sod.c strcmp.c strncmp.c strsep.c strtol.c strdup.c strcpy.c OBJS+= strchr.o PROG= ld.so MAN= ld.so.8 +.if (${MACHINE_ARCH} == "sparc64") +CFLAGS += -fPIC -msoft-float +AFLAGS += -fPIC +.endif .if (${MACHINE_ARCH} == "powerpc") CFLAGS += -fpic -msoft-float .endif |