diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-12-05 00:39:14 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-12-12 18:08:43 +0200 |
commit | ef81c51f62e03cb53e65f1ced6120d87f1827c40 (patch) | |
tree | 9a520e581f2eea12a99fc991338ee0a5f82ce571 /depends/packages/libxcb_util.mk | |
parent | 3b8f4e347b09594dcf88f4f2c0bb5afc1265ef51 (diff) | |
download | bitcoin-ef81c51f62e03cb53e65f1ced6120d87f1827c40.tar.xz |
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.
Diffstat (limited to 'depends/packages/libxcb_util.mk')
-rw-r--r-- | depends/packages/libxcb_util.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/depends/packages/libxcb_util.mk b/depends/packages/libxcb_util.mk index 2b65b58597..6f1b9cd7c6 100644 --- a/depends/packages/libxcb_util.mk +++ b/depends/packages/libxcb_util.mk @@ -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 |