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/
4
4
$(package)_file_name =$(package ) -$($(package ) _version) .tar.xz
5
5
$(package)_sha256_hash =f79b8f904b749e3e0d20afeadecf8249c55b2e32d4ebb089ae378df479dcaf25
6
6
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.
7
10
define $(package)_set_vars
8
11
$(package ) _config_opts=--disable-shared --without-docbook --without-tests --without-examples
9
12
$(package ) _config_opts += --disable-dependency-tracking --enable-option-checking
10
13
$(package ) _config_opts += --without-xmlwf
11
14
$(package ) _config_opts_linux=--with-pic
12
- $(package ) _cflags += -fno-lto
15
+ $(package ) _cppflags += -D_DEFAULT_SOURCE
13
16
endef
14
17
15
18
define $(package)_config_cmds
You can’t perform that action at this time.
0 commit comments