Skip to content

Commit ebce66e

Browse files
fanquakehebasto
authored andcommitted
build: pass -fno-lto when building expat
Otherwise it's autoconf endianess check will fail to determine what the endianess is..
1 parent 826fae6 commit ebce66e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

depends/packages/expat.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ define $(package)_set_vars
99
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
1010
$(package)_config_opts += --without-xmlwf
1111
$(package)_config_opts_linux=--with-pic
12+
$(package)_cflags += -fno-lto
1213
endef
1314

1415
define $(package)_config_cmds

0 commit comments

Comments
 (0)