mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
c++11: fix libbdb build against libc++ in c++11 mode
atomic_init clashes with
This commit is contained in:
parent
57d2f62c99
commit
3968922b96
@ -12,7 +12,8 @@ $(package)_config_opts_linux=--with-pic
|
||||
endef
|
||||
|
||||
define $(package)_preprocess_cmds
|
||||
sed -i.old 's/__atomic_compare_exchange/__atomic_compare_exchange_db/' dbinc/atomic.h
|
||||
sed -i.old 's/__atomic_compare_exchange/__atomic_compare_exchange_db/' dbinc/atomic.h && \
|
||||
sed -i.old 's/atomic_init/atomic_init_db/' dbinc/atomic.h mp/mp_region.c mp/mp_mvcc.c mp/mp_fget.c mutex/mut_method.c mutex/mut_tas.c
|
||||
endef
|
||||
|
||||
define $(package)_config_cmds
|
||||
|
Loading…
Reference in New Issue
Block a user