newlib: fix static build again

git-svn-id: svn://kolibrios.org@6765 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2016-11-26 18:03:31 +00:00
parent f3754c9c3b
commit f46d948b97
2 changed files with 4 additions and 1 deletions

View File

@ -553,7 +553,6 @@ ifeq ($(findstring static,$(MAKECMDGOALS)),static)
LIB_SRCS:= $(STATIC_SRCS)
LIB_OBJS:= $(STATIC_OBJS)
CFLAGS += -DSTATIC_LIBC
else

View File

@ -187,6 +187,10 @@
#define __DYNAMIC_REENT__
#ifdef STATIC_LIBC
#define BUILD_LIBC
#endif
#ifdef BUILD_LIBC
#define __EXPORT
#define __IMPORT