diff options
-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 |