File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,15 @@ $(package)_download_path=https://github.com/libexpat/libexpat/releases/download/
44$(package)_file_name =$(package ) -$($(package ) _version) .tar.xz
55$(package)_sha256_hash =f79b8f904b749e3e0d20afeadecf8249c55b2e32d4ebb089ae378df479dcaf25
66
7+ # -D_DEFAULT_SOURCE defines __USE_MISC, which exposes additional
8+ # definitions in endian.h, which are required for a working
9+ # endianess check in configure when building with -flto.
710define $(package)_set_vars
811 $(package ) _config_opts=--disable-shared --without-docbook --without-tests --without-examples
912 $(package ) _config_opts += --disable-dependency-tracking --enable-option-checking
1013 $(package ) _config_opts += --without-xmlwf
1114 $(package ) _config_opts_linux=--with-pic
12- $(package ) _cflags += -fno-lto
15+ $(package ) _cppflags += -D_DEFAULT_SOURCE
1316endef
1417
1518define $(package)_config_cmds
You can’t perform that action at this time.
0 commit comments