build: pass -fno-lto when building expat

Otherwise it's autoconf endianess check will fail to determine what the
endianess is..
This commit is contained in:
fanquake
2022-06-21 17:16:46 +01:00
committed by Hennadii Stepanov
parent 826fae6a0f
commit ebce66e532

View File

@@ -9,6 +9,7 @@ define $(package)_set_vars
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
$(package)_config_opts += --without-xmlwf
$(package)_config_opts_linux=--with-pic
$(package)_cflags += -fno-lto
endef
define $(package)_config_cmds