forked from KolibriOS/kolibrios
newlib: fix static build again
git-svn-id: svn://kolibrios.org@6765 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
f3754c9c3b
commit
f46d948b97
@ -553,7 +553,6 @@ ifeq ($(findstring static,$(MAKECMDGOALS)),static)
|
|||||||
|
|
||||||
LIB_SRCS:= $(STATIC_SRCS)
|
LIB_SRCS:= $(STATIC_SRCS)
|
||||||
LIB_OBJS:= $(STATIC_OBJS)
|
LIB_OBJS:= $(STATIC_OBJS)
|
||||||
CFLAGS += -DSTATIC_LIBC
|
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
|
@ -187,6 +187,10 @@
|
|||||||
|
|
||||||
#define __DYNAMIC_REENT__
|
#define __DYNAMIC_REENT__
|
||||||
|
|
||||||
|
#ifdef STATIC_LIBC
|
||||||
|
#define BUILD_LIBC
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef BUILD_LIBC
|
#ifdef BUILD_LIBC
|
||||||
#define __EXPORT
|
#define __EXPORT
|
||||||
#define __IMPORT
|
#define __IMPORT
|
||||||
|
Loading…
Reference in New Issue
Block a user