Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | libffi's configure assumes that cross-compiled builds are complicated and |
| 2 | introduces convoluted path manipulation involving gcc search paths to the |
| 3 | install paths, resulting in paths like -L/usr/lib/../lib/ appearing in |
| 4 | libffi.pc. When pkg-config is then used to obtain the linker flags for libffi |
| 5 | it can't tell that this path is on the default search path and returns |
| 6 | $SYSROOT/usr/lib/../lib which then gets written all over the target sysroot. |
| 7 | This then means the sstate can't be shared and triggers QA errors. |
| 8 | |
| 9 | As this block is generally pointless, disable it. |
| 10 | |
| 11 | Upstream-Status: Inappropriate |
| 12 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
| 13 | |
Brad Bishop | c68388fc | 2019-08-26 01:33:31 -0400 | [diff] [blame] | 14 | --- a/configure.ac |
| 15 | +++ b/configure.ac |
| 16 | @@ -350,7 +350,7 @@ AC_ARG_ENABLE(multi-os-directory, |
| 17 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 18 | # These variables are only ever used when we cross-build to X86_WIN32. |
| 19 | # And we only support this with GCC, so... |
| 20 | -if test "x$GCC" = "xyes"; then |
| 21 | +if false; then |
| 22 | if test -n "$with_cross_host" && |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 23 | test x"$with_cross_host" != x"no"; then |
| 24 | toolexecdir="${exec_prefix}"/'$(target_alias)' |