diff options
author | Matias Elo <matias.elo@nokia.com> | 2021-05-26 08:25:00 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2021-05-26 08:25:00 +0300 |
commit | 0f7caa1ed38afcd78b23c3ee0d2ef94a8f980236 (patch) | |
tree | 686e44d7f78ec662d9a03ed8367135ee9bda218d /m4 | |
parent | cb9db0fa8ca6dd0d58ffe6180affe43abe53956c (diff) | |
parent | 639f4d5831927a2e10670ebb8f36481a5db1093c (diff) |
Merge tag 'v1.28.0.0' of https://github.com/OpenDataPlane/odp into odp-dpdk
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/odp_atomic.m4 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/m4/odp_atomic.m4 b/m4/odp_atomic.m4 index cde313261..2554502fd 100644 --- a/m4/odp_atomic.m4 +++ b/m4/odp_atomic.m4 @@ -15,6 +15,15 @@ if test "x$use_libatomic" = "xyes"; then fi AC_SUBST([ATOMIC_LIBS]) +# In non-abi-compat mode libatomic is exposed to the application +if test $ODP_ABI_COMPAT -eq 1; then + ATOMIC_LIBS_ABI_COMPAT=$ATOMIC_LIBS + AC_SUBST([ATOMIC_LIBS_ABI_COMPAT]) +else + ATOMIC_LIBS_NON_ABI_COMPAT=$ATOMIC_LIBS + AC_SUBST([ATOMIC_LIBS_NON_ABI_COMPAT]) +fi + # Double wide __atomic_compare_exchange_n is required by ipfragreass example use_libatomic_opt=no; have_atomic_cmp_exc=yes; |