diff options
Diffstat (limited to 'sysdeps/csky')
-rw-r--r-- | sysdeps/csky/configure | 7 | ||||
-rw-r--r-- | sysdeps/csky/configure.ac | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/sysdeps/csky/configure b/sysdeps/csky/configure index 19acb084fb..27464eb707 100644 --- a/sysdeps/csky/configure +++ b/sysdeps/csky/configure @@ -2,3 +2,10 @@ # Local configure fragment for sysdeps/csky. $as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h + + +# PIE builds fail on binutils 2.37 and earlier, see: +# https://sourceware.org/bugzilla/show_bug.cgi?id=28672 +$as_echo "#define PIE_UNSUPPORTED 1" >>confdefs.h + +# work around problem with autoconf and empty lines at the end of files diff --git a/sysdeps/csky/configure.ac b/sysdeps/csky/configure.ac index 5656b665da..8e00824909 100644 --- a/sysdeps/csky/configure.ac +++ b/sysdeps/csky/configure.ac @@ -2,3 +2,8 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. # Local configure fragment for sysdeps/csky. AC_DEFINE(PI_STATIC_AND_HIDDEN) + +# PIE builds fail on binutils 2.37 and earlier, see: +# https://sourceware.org/bugzilla/show_bug.cgi?id=28672 +AC_DEFINE(PIE_UNSUPPORTED) +# work around problem with autoconf and empty lines at the end of files |