100-adk.patch 610 B

1234567891011121314151617181920212223
  1. Index: os/linux/ccconfig.h
  2. ===================================================================
  3. RCS file: /cvsroot/pcc/os/linux/ccconfig.h,v
  4. retrieving revision 1.19
  5. diff -u -p -r1.19 ccconfig.h
  6. --- a/os/linux/ccconfig.h 9 Nov 2010 08:40:50 -0000 1.19
  7. +++ b/os/linux/ccconfig.h 2 Apr 2011 14:19:17 -0000
  8. @@ -67,6 +67,15 @@
  9. #error defines for arch missing
  10. #endif
  11. +#ifdef ADK_FOR_UCLIBC
  12. +#undef DYNLINKER
  13. +#define DYNLINKER { "-dynamic-linker", "/lib/ld-uClibc.so.0", NULL }
  14. +#elif defined(ADK_FOR_GLIBC)
  15. +/* see above */
  16. +#else
  17. +#error What now?
  18. +#endif
  19. +
  20. #ifndef LIBDIR
  21. #define LIBDIR "/usr/lib/"
  22. #endif