diff options
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -105,7 +105,7 @@ ifeq ($(strip $(HAVE_SHARED)),true) ifeq ($(strip $(BUILD_UCLIBC_LDSO)),true) LDSO=$(TOPDIR)lib/$(UCLIBC_LDSO) DYNAMIC_LINKER=$(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO) -BUILD_DYNAMIC_LINKER=${shell cd $(TOPDIR)lib && pwd}/$(UCLIBC_LDSO) + BUILD_DYNAMIC_LINKER=${shell cd $(TOPDIR)lib && pwd}/$(UCLIBC_LDSO) else LDSO=$(SYSTEM_LDSO) BUILD_UCLIBC_LDSO=false @@ -116,6 +116,9 @@ endif ifeq ($(strip $(DOPIC)),true) CFLAGS += -fPIC endif +ifeq ($(strip $(INCLUDE_THREADS)),true) + CFLAGS += -D_LIBC_REENTRANT +endif # TARGET_PREFIX is the directory under which which the uClibc runtime # environment will be installed and used on the target system. The |