mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +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"
|
#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
|
* The pthread init code on Linux calls getrlimit
|
||||||
|
Loading…
Reference in New Issue
Block a user