mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-19 18:09:47 +01: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
@ -8,7 +8,7 @@ $(package)_dependencies=libxcb
|
||||
define $(package)_set_vars
|
||||
$(package)_config_opts = --disable-shared --disable-devel-docs --without-doxygen
|
||||
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
|
||||
$(package)_cflags += -fPIC
|
||||
$(package)_config_opts += --with-pic
|
||||
endef
|
||||
|
||||
define $(package)_preprocess_cmds
|
||||
|
Loading…
Reference in New Issue
Block a user