aboutsummaryrefslogtreecommitdiff
path: root/lib/libstand
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-04-09 20:38:29 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-04-09 20:38:29 +0000
commit168ca73831a54424a6e1399ffa109b8f3618d1c7 (patch)
treeaa6b62d5a0da4a0e9ae59ef90e41fd4e6e4b6567 /lib/libstand
parent4ace33924bdc17d86b3112cda4df520b43f45910 (diff)
Notes
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile
index 17c45967e0a7..55b71b9ee4b6 100644
--- a/lib/libstand/Makefile
+++ b/lib/libstand/Makefile
@@ -11,6 +11,8 @@ NOPROFILE= YES
NOPIC= YES
MAN= libstand.3
+CFLAGS+= -ffreestanding
+
.if ${MACHINE_ARCH} == "alpha"
CFLAGS+= -mno-fp-regs
.endif
@@ -100,8 +102,6 @@ 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
# _setjmp/_longjmp