svn commit: trunk/uClibc/libc: string sysdeps/linux/common
aldot at uclibc.org
aldot at uclibc.org
Fri May 30 20:38:09 UTC 2008
Author: aldot
Date: 2008-05-30 13:38:08 -0700 (Fri, 30 May 2008)
New Revision: 22127
Log:
- cannot really guarantee proper order, so play safe and compile the problematic
sources separately for now.
Modified:
trunk/uClibc/libc/string/Makefile.in
trunk/uClibc/libc/string/__xpg_strerror_r.c
trunk/uClibc/libc/sysdeps/linux/common/Makefile.in
Changeset:
Modified: trunk/uClibc/libc/string/Makefile.in
===================================================================
--- trunk/uClibc/libc/string/Makefile.in 2008-05-30 20:00:19 UTC (rev 22126)
+++ trunk/uClibc/libc/string/Makefile.in 2008-05-30 20:38:08 UTC (rev 22127)
@@ -106,6 +106,7 @@
libc-y += $(STRING_COBJ)
libc-nomulti-$(UCLIBC_HAS_XLOCALE) += $(STRING_OUT)/wcsxfrm_l.o
+libc-nomulti-y += $(STRING_OUT)/__xpg_strerror_r.o
objclean-y += string_objclean
Modified: trunk/uClibc/libc/string/__xpg_strerror_r.c
===================================================================
--- trunk/uClibc/libc/string/__xpg_strerror_r.c 2008-05-30 20:00:19 UTC (rev 22126)
+++ trunk/uClibc/libc/string/__xpg_strerror_r.c 2008-05-30 20:38:08 UTC (rev 22127)
@@ -6,7 +6,7 @@
*/
/* Make sure we get proper strerror_r() prototype */
-#define strerror_r __moo
+#define strerror_r _hidestrerror_r
#include <features.h>
#include <errno.h>
Modified: trunk/uClibc/libc/sysdeps/linux/common/Makefile.in
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/Makefile.in 2008-05-30 20:00:19 UTC (rev 22126)
+++ trunk/uClibc/libc/sysdeps/linux/common/Makefile.in 2008-05-30 20:38:08 UTC (rev 22127)
@@ -37,13 +37,6 @@
CFLAGS-ssp.c := $(SSP_DISABLE_FLAGS)
CFLAGS-ssp-local.c := $(SSP_DISABLE_FLAGS)
-ifneq ($(findstring mremap.c,$(CSRC)),)
-# for -combine, make sure that we don't pollute our non-varargs mremap decl
-# with some vararg decl from later in the TU by putting ours after anybody
-# else who is picking up mman.h.
-# This is admittedly a small work-around..
-CSRC := $(filter-out mremap.c,$(CSRC)) mremap.c
-endif
COMMON_SRC := $(patsubst %.c,$(COMMON_DIR)/%.c,$(CSRC))
COMMON_OBJ := $(patsubst %.c,$(COMMON_OUT)/%.o,$(CSRC))
@@ -51,7 +44,10 @@
libc-static-$(UCLIBC_HAS_SSP) += $(COMMON_OUT)/ssp-local.o
libc-nonshared-$(UCLIBC_HAS_SSP) += $(COMMON_OUT)/ssp-local.os
-libc-nomulti-y += $(COMMON_OUT)/__syscall_rt_sigaction.o $(COMMON_OUT)/__syscall_sigaction.o
+libc-nomulti-y += $(COMMON_OUT)/__syscall_rt_sigaction.o \
+ $(COMMON_OUT)/__syscall_sigaction.o \
+ $(COMMON_OUT)/mremap.o \
+ $(COMMON_OUT)/stat.o
libc-nomulti-$(UCLIBC_HAS_SSP) += $(COMMON_OUT)/ssp.o
objclean-y += common_objclean
More information about the uClibc-cvs
mailing list