libports: set getrlimit() to weak in libc

This functions needs to be overriden by libc_noux.
This commit is contained in:
Josef Söntgen 2012-11-26 18:09:16 +01:00 committed by Norman Feske
parent 569e0a2e6c
commit 14c1f64733
1 changed files with 1 additions and 1 deletions

View File

@ -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