aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-20 17:35:04 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-20 17:35:04 +0100
commit0d4b2f2670b9d90c694a8d5340611481066ea5e6 (patch)
tree347089cafd293e525f910c775bcb6af9cfa6c241 /Makefile
parentm (diff)
downloadslibc-0d4b2f2670b9d90c694a8d5340611481066ea5e6.tar.gz
slibc-0d4b2f2670b9d90c694a8d5340611481066ea5e6.tar.bz2
slibc-0d4b2f2670b9d90c694a8d5340611481066ea5e6.tar.xz
add needstack
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 562d9d4..2393065 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ CCFLAGS_UNHOSTED = -nostdinc -ffreestanding
# Preprocessor flags defined by slibc that are required to build the slibc.
CCFLAGS_SLIBC_DEFS = -D_SLIBC_SOURCE=1 -D_GNU_SOURCE=1 -D_BSD_SOURCE=1 -D_SLIBC_SUPPRESS_WARNINGS=1 \
- -D_POSIX_C_SOURCE=999999L -D_XOPEN_SOURCE=9999 -D__BUILDING_SLIBC=1
+ -D_POSIX_C_SOURCE=999999L -D_XOPEN_SOURCE=9999 -D_PLAN9_SOURCE=1 -D__BUILDING_SLIBC=1
# __BUILDING_SLIBC is used to that make all prototypes visible, that are otherwise
# hidden because the library is compiled with a too old revision of C.