mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
libports: set getrlimit() to weak in libc
This functions needs to be overriden by libc_noux.
This commit is contained in:
parent
569e0a2e6c
commit
14c1f64733
@ -17,7 +17,7 @@
|
||||
|
||||
#include "libc_debug.h"
|
||||
|
||||
extern "C" int getrlimit(int resource, struct rlimit *rlim)
|
||||
extern "C" int __attribute__((weak)) getrlimit(int resource, struct rlimit *rlim)
|
||||
{
|
||||
/*
|
||||
* The pthread init code on Linux calls getrlimit
|
||||
|
Loading…
Reference in New Issue
Block a user