mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-11 23:42:57 +00:00
d0501dc7fc
The build fails when the openssl/sha.h header file is not installed on the host system. Fix this by setting the HOSTCCFLAGS variable to the OpenWrt HOST_CFLAGS variable, without setting this the include paths and other modifications in the host flags done by OpenWrt will be ignored by the build. This fixes the following build problem: gcc -c -D_GNU_SOURCE -D_XOPEN_SOURCE=700 -Wall -Werror -pedantic -std=c99 -O2 -I../../include/tools_share fiptool.c -o fiptool.o In file included from fiptool.h:16, from fiptool.c:19: fiptool_platform.h:19:11: fatal error: openssl/sha.h: No such file or directory 19 | # include <openssl/sha.h> | ^~~~~~~~~~~~~~~ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> |
||
---|---|---|
.. | ||
arm-trusted-firmware-bcm63xx | ||
arm-trusted-firmware-mediatek | ||
arm-trusted-firmware-mvebu | ||
arm-trusted-firmware-rockchip | ||
arm-trusted-firmware-sunxi | ||
arm-trusted-firmware-tools | ||
at91bootstrap | ||
fconfig | ||
grub2 | ||
imx-bootlets | ||
kexec-tools | ||
kobs-ng | ||
mt7623n-preloader | ||
tfa-layerscape | ||
uboot-at91 | ||
uboot-envtools | ||
uboot-fritz4040 | ||
uboot-imx | ||
uboot-kirkwood | ||
uboot-lantiq | ||
uboot-layerscape | ||
uboot-mediatek | ||
uboot-mvebu | ||
uboot-mxs | ||
uboot-omap | ||
uboot-oxnas | ||
uboot-ramips | ||
uboot-rockchip | ||
uboot-sunxi | ||
uboot-tegra | ||
uboot-zynq |