diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure index 7f5b5c6f5b..651346ecd8 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -4363,6 +4363,17 @@ else | |||
4363 | ldver=`$LD --version | head -n 1 | sed -e 's/\ /\n/g' | tail -n 1` | 4363 | ldver=`$LD --version | head -n 1 | sed -e 's/\ /\n/g' | tail -n 1` |
4364 | fi | 4364 | fi |
4365 | 4365 | ||
4366 | # Convert LD version to a number major*100 + minor | ||
4367 | ldnum1=`echo $ldver | cut -d . -f1` | ||
4368 | ldnum2=`echo $ldver | cut -d . -f2` | ||
4369 | ldnum=`(expr $ldnum1 "*" 100 + $ldnum2) 2>/dev/null` | ||
4370 | |||
4371 | if test "$ldnum" -ge "227"; then | ||
4372 | have_nocrossrefs_to="#define HAVE_NOCROSSREFS_TO" | ||
4373 | else | ||
4374 | have_nocrossrefs_to="#undef HAVE_NOCROSSREFS_TO" | ||
4375 | fi | ||
4376 | |||
4366 | if [ -z "$gccver" ]; then | 4377 | if [ -z "$gccver" ]; then |
4367 | echo "[WARNING] The compiler you must use ($CC) is not in your path!" | 4378 | echo "[WARNING] The compiler you must use ($CC) is not in your path!" |
4368 | echo "[WARNING] this may cause your build to fail since we cannot do the" | 4379 | echo "[WARNING] this may cause your build to fail since we cannot do the" |
@@ -4600,6 +4611,9 @@ ${app_lcd_height} | |||
4600 | #define ROCKBOX_BINARY_PATH "${bindir}" | 4611 | #define ROCKBOX_BINARY_PATH "${bindir}" |
4601 | #define ROCKBOX_LIBRARY_PATH "${libdir}" | 4612 | #define ROCKBOX_LIBRARY_PATH "${libdir}" |
4602 | 4613 | ||
4614 | /* linker feature test macro for validating cross-section references */ | ||
4615 | ${have_nocrossrefs_to} | ||
4616 | |||
4603 | #endif /* __BUILD_AUTOCONF_H */ | 4617 | #endif /* __BUILD_AUTOCONF_H */ |
4604 | EOF | 4618 | EOF |
4605 | 4619 | ||