]> xenbits.xensource.com Git - unikraft/libs/musl.git/commitdiff
Avoid multiple definitions by excluding functions related to stdio
authorGaulthier Gain <gaulthier.gain@uliege.be>
Wed, 29 Jan 2020 21:18:45 +0000 (22:18 +0100)
committerSimon Kuenzer <simon.kuenzer@neclab.eu>
Thu, 30 Jan 2020 20:55:57 +0000 (21:55 +0100)
Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Makefile.uk.musl.stdio

index 149aa91e878b9e98a59316cb3fe6c1a0ece949b6..8a9254efcea9369066b82e8dbb8992eb7e969945 100644 (file)
@@ -65,9 +65,9 @@ LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/ofl.c
 LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/ofl_add.c
 LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/open_memstream.c
 LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/open_wmemstream.c
-LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/pclose.c
+#LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/pclose.c
 LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/perror.c
-LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/popen.c
+#LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/popen.c
 LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/printf.c
 LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/putc.c
 LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/putc_unlocked.c
@@ -78,7 +78,7 @@ LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/putw.c
 LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/putwc.c
 LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/putwchar.c
 LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/remove.c
-LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/rename.c
+#LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/rename.c
 LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/rewind.c
 LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/scanf.c
 LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/setbuf.c