summaryrefslogtreecommitdiffstats
path: root/lib/libstand
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-03-19 12:03:05 +0000
committerpeter <peter@FreeBSD.org>2002-03-19 12:03:05 +0000
commit824789c4eda498494902b44a66dc77fe6535d537 (patch)
treebdfcb74f425b708972febeb4c46743ef9d2b4828 /lib/libstand
parent1f0d97f8af83b9962e72a63d40b7e75ab337bed7 (diff)
downloadFreeBSD-src-824789c4eda498494902b44a66dc77fe6535d537.zip
FreeBSD-src-824789c4eda498494902b44a66dc77fe6535d537.tar.gz
Add -ffreestanding to CFLAGS for ia64. This should probably be global
like on the kernel.
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile
index 08f7319..bd49d1a 100644
--- a/lib/libstand/Makefile
+++ b/lib/libstand/Makefile
@@ -104,6 +104,8 @@ SRCS+= bcmp.c bcopy.S bzero.S ffs.S index.c memccpy.c memchr.c memcmp.c \
.PATH: ${.CURDIR}/../libc/ia64/gen
SRCS+= __divdi3.S __divsi3.S __moddi3.S __modsi3.S
SRCS+= __udivdi3.S __udivsi3.S __umoddi3.S __umodsi3.S
+# XXX should be global
+CFLAGS+= -ffreestanding
.endif
.if ${MACHINE_ARCH} != "sparc64"
OpenPOWER on IntegriCloud