From c4adddb6b700a17f7272a58b9f37a1d761127824 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Fri, 6 Jan 2012 13:21:29 +0100 Subject: [PATCH] Add libc/compat to libc, fix #63 --- libports/lib/mk/libc-compat.mk | 7 +++++++ libports/lib/mk/libc.mk | 2 +- libports/src/lib/libc/dummies.cc | 1 - 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 libports/lib/mk/libc-compat.mk diff --git a/libports/lib/mk/libc-compat.mk b/libports/lib/mk/libc-compat.mk new file mode 100644 index 000000000..9c289674a --- /dev/null +++ b/libports/lib/mk/libc-compat.mk @@ -0,0 +1,7 @@ +LIBC_COMPAT_DIR = $(LIBC_DIR)/libc/compat-43 + +SRC_C = $(filter-out $(FILTER_OUT),$(notdir $(wildcard $(LIBC_COMPAT_DIR)/*.c))) + +include $(REP_DIR)/lib/mk/libc-common.inc + +vpath %.c $(LIBC_COMPAT_DIR) diff --git a/libports/lib/mk/libc.mk b/libports/lib/mk/libc.mk index 339e19c81..f80892775 100644 --- a/libports/lib/mk/libc.mk +++ b/libports/lib/mk/libc.mk @@ -3,7 +3,7 @@ # LIBS = libc-string libc-locale libc-stdlib libc-stdio libc-gen libc-gdtoa \ - libc-inet libc-stdtime libc-regex + libc-inet libc-stdtime libc-regex libc-compat LIBS += timed_semaphore cxx # diff --git a/libports/src/lib/libc/dummies.cc b/libports/src/lib/libc/dummies.cc index b00a5f19c..13efb86a4 100644 --- a/libports/src/lib/libc/dummies.cc +++ b/libports/src/lib/libc/dummies.cc @@ -65,7 +65,6 @@ DUMMY( 0, getuid) DUMMY(-1, __has_sse) DUMMY(-1, host_detect_local_cpu) DUMMY(-1, kill) -DUMMY(-1, killpg) DUMMY(-1, ksem_close) DUMMY(-1, ksem_destroy) DUMMY(-1, ksem_getvalue)