summaryrefslogtreecommitdiffstats
path: root/package/php/php.hash
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2018-03-01 21:54:29 +0100
committerPeter Korsgaard <peter@korsgaard.com>2018-03-02 00:12:43 +0100
commit0bf80e4bcd5277e3ad935e03c632deba4c7316f2 (patch)
treeb9c21af0e09fbdba4be8e7861f964bcca4ff24d7 /package/php/php.hash
parent3538b5fb10ca1eeedb5d8957a58c464f5f9f45bc (diff)
downloadbuildroot-0bf80e4bcd5277e3ad935e03c632deba4c7316f2.tar.gz
buildroot-0bf80e4bcd5277e3ad935e03c632deba4c7316f2.zip
uboot: ensure host includes are searched before system default includes
Commit baae5156ce37e (uboot: use local fdt headers) changed the uboot logic to pass the host include directories with -idirafter instead of -I, so include files local to u-boot would be preferred over host includes. This unfortunately breaks configurations using BR2_TARGET_UBOOT_NEEDS_OPENSSL on hosts with incompatible openssl headers installed in the system default include directories as explained here: http://lists.busybox.net/pipermail/buildroot/2018-March/214651.html The problem is that -idirafter directories gets added to the very end of the search order, AFTER the system default directories. Instead use -isystem which causes the directories to be added after -I but before the system default directories. With this in place, the include directories of u-boot will first be scanned, followed by the host includes and finally the system default include directories. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/php/php.hash')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud