| e8555c89 Andy McCall | 1 | # Configuration for Linux machines. |
| 2 | ||
| 3 | # Does platform support symlinks? |
|
| 4 | USE_SYMLINK:=true |
|
| 5 | ||
| 6 | # File name extension of executables. |
|
| 7 | EXEEXT:= |
|
| 8 | LIBRARYEXT:=.so |
|
| 9 | ||
| 10 | # In glibc the function clock_gettime() is defined in the librt library. In |
|
| 11 | # uClibc it's defined in libc itself. We should write a function that actually |
|
| 12 | # tests which library defines it. But as a temporary workaround/hack we figure |
|
| 13 | # out the linker flags based on the occurrence of the substring uclibc inside |
|
| 14 | # the compiler executable name (e.g. for Dingoo we don't need to link against |
|
| 15 | # librt). |
|
| 16 | |
|
| 17 | LINK_FLAGS+=-lrt |
|
| 18 | endif |