diff options
Diffstat (limited to 'package/pcc/patches/100-adk.patch')
-rw-r--r-- | package/pcc/patches/100-adk.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/package/pcc/patches/100-adk.patch b/package/pcc/patches/100-adk.patch new file mode 100644 index 000000000..fe2143dd8 --- /dev/null +++ b/package/pcc/patches/100-adk.patch @@ -0,0 +1,23 @@ +Index: os/linux/ccconfig.h +=================================================================== +RCS file: /cvsroot/pcc/os/linux/ccconfig.h,v +retrieving revision 1.19 +diff -u -p -r1.19 ccconfig.h +--- a/os/linux/ccconfig.h 9 Nov 2010 08:40:50 -0000 1.19 ++++ b/os/linux/ccconfig.h 2 Apr 2011 14:19:17 -0000 +@@ -67,6 +67,15 @@ + #error defines for arch missing + #endif + ++#ifdef ADK_FOR_UCLIBC ++#undef DYNLINKER ++#define DYNLINKER { "-dynamic-linker", "/lib/ld-uClibc.so.0", NULL } ++#elif defined(ADK_FOR_GLIBC) ++/* see above */ ++#else ++#error What now? ++#endif ++ + #ifndef LIBDIR + #define LIBDIR "/usr/lib/" + #endif |