diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2016-01-05 16:27:42 -0500 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2016-01-05 17:17:29 -0500 |
commit | 3968922b9623af9da9959adc49a779d6837e1f0c (patch) | |
tree | 3c0f10eaf55656dcf38442ea1b57f79306c9f914 /depends | |
parent | 57d2f62c99e7ec2c1c95809f0f8f7441c3201423 (diff) |
c++11: fix libbdb build against libc++ in c++11 mode
atomic_init clashes with
Diffstat (limited to 'depends')
-rw-r--r-- | depends/packages/bdb.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/depends/packages/bdb.mk b/depends/packages/bdb.mk index 68841afdb8..e2f85ad4fc 100644 --- a/depends/packages/bdb.mk +++ b/depends/packages/bdb.mk @@ -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 |