From 69ed661a488c0e02bf5fee3dc21e6a31a99a8d85 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 17 Oct 2015 00:58:39 +0200 Subject: fix errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8f2c7b2..ff643e8 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,9 @@ 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_POSIX_C_SOURCE=999999L -D_XOPEN_SOURCE=9999 -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. # Flag that specifies which C dialect the library is written. CCFLAGS_CSTD = -std=gnu99 -- cgit v1.2.3-70-g09d2