diff options
Diffstat (limited to 'librt')
-rw-r--r-- | librt/Makefile.in | 5 | ||||
-rw-r--r-- | librt/mq_receive.c | 1 | ||||
-rw-r--r-- | librt/mq_send.c | 1 |
3 files changed, 6 insertions, 1 deletions
diff --git a/librt/Makefile.in b/librt/Makefile.in index f6433d30b..c91552acc 100644 --- a/librt/Makefile.in +++ b/librt/Makefile.in @@ -16,6 +16,7 @@ librt_FULL_NAME := librt-$(VERSION).so librt_DIR := $(top_srcdir)librt librt_OUT := $(top_builddir)librt +ifeq ($(UCLIBC_HAS_REALTIME),y) librt_SRC := $(wildcard $(librt_DIR)/*.c) librt_OBJ := $(patsubst $(librt_DIR)/%.c,$(librt_OUT)/%.o,$(librt_SRC)) @@ -28,7 +29,7 @@ librt-so-y += $(librt_OBJ:.o=.os) lib-a-y += $(top_builddir)lib/librt.a lib-so-y += $(top_builddir)lib/librt.so -objclean-y += librt_clean +endif ifeq ($(DOPIC),y) $(top_builddir)lib/librt.so: $(top_builddir)lib/librt.a $(libc.depend) @@ -48,5 +49,7 @@ $(top_builddir)lib/librt.a: $(librt-a-y) $(do_strip) $(do_ar) +objclean-y += librt_clean + librt_clean: $(RM) $(librt_OUT)/*.{o,os,a} diff --git a/librt/mq_receive.c b/librt/mq_receive.c index fa48426b9..276b1f573 100644 --- a/librt/mq_receive.c +++ b/librt/mq_receive.c @@ -6,6 +6,7 @@ #include <stddef.h> #include <sys/syscall.h> #include <mqueue.h> +#warning FIXME: hard dependency on ADVANCED REALTIME feature librt_hidden_proto(mq_timedreceive) #ifdef __NR_mq_timedreceive diff --git a/librt/mq_send.c b/librt/mq_send.c index ee2af4454..fbfc99e46 100644 --- a/librt/mq_send.c +++ b/librt/mq_send.c @@ -6,6 +6,7 @@ #include <stddef.h> #include <sys/syscall.h> #include <mqueue.h> +#warning FIXME: hard dependency on ADVANCED REALTIME feature librt_hidden_proto(mq_timedsend) #ifdef __NR_mq_timedsend |