mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 23:09:44 -04:00
build: Use config_opts instead of passing a compiler flag directly
This approach is safer as it allows the configure script to check the availability of a compiler flag.
This commit is contained in:
parent
3b8f4e347b
commit
ef81c51f62
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ $(package)_dependencies=libxcb
|
||||||
define $(package)_set_vars
|
define $(package)_set_vars
|
||||||
$(package)_config_opts = --disable-shared --disable-devel-docs --without-doxygen
|
$(package)_config_opts = --disable-shared --disable-devel-docs --without-doxygen
|
||||||
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
|
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
|
||||||
$(package)_cflags += -fPIC
|
$(package)_config_opts += --with-pic
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_preprocess_cmds
|
define $(package)_preprocess_cmds
|
||||||
|
|
Loading…
Add table
Reference in a new issue