fetchurl: dim debug-message noise

This commit is contained in:
Norman Feske 2018-01-05 19:01:46 +01:00
parent f1ce555cd9
commit c8c910a41b
3 changed files with 6 additions and 1 deletions

View File

@ -78,6 +78,7 @@ set boot_modules {
nic_drv
timer
zlib.lib.so
pthread.lib.so
}
# platform-specific modules

View File

@ -195,3 +195,7 @@ void Libc::Component::construct(Libc::Env &env)
env.parent().exit(res ^ CURLE_OK);
}
/* dummies to prevent warnings printed by unimplemented libc functions */
extern "C" int issetugid() { return 1; }
extern "C" pid_t getpid() { return 1; }

View File

@ -1,5 +1,5 @@
TARGET = fetchurl
LIBS += curl lwip libc_lwip libc_lwip_nic_dhcp libc ld
LIBS += curl lwip libc_lwip libc_lwip_nic_dhcp libc ld pthread
SRC_CC = component.cc
CC_CXX_WARN_STRICT =