diff options
author | Andrew Waterman <waterman@eecs.berkeley.edu> | 2012-11-17 03:43:57 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@eecs.berkeley.edu> | 2012-11-17 03:43:57 -0800 |
commit | 8c4a41f9835d56437c44631d97ef592e948385d9 (patch) | |
tree | a9f957f4123aa99e4ceee1957e84df40cd9c299b /configure | |
parent | 93f6f1ff134333a61580677a685ad61718ad0726 (diff) | |
download | riscv-pk-8c4a41f9835d56437c44631d97ef592e948385d9.zip riscv-pk-8c4a41f9835d56437c44631d97ef592e948385d9.tar.gz riscv-pk-8c4a41f9835d56437c44631d97ef592e948385d9.tar.bz2 |
fix spinlocks; add --disable-atomics cfg opt
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -648,6 +648,7 @@ enable_stow enable_optional_subprojects enable_vm enable_fp_emulation +enable_atomics ' ac_precious_vars='build_alias host_alias @@ -1283,6 +1284,7 @@ Optional Features: Enable all optional subprojects --disable-vm Disable virtual memory --disable-fp-emulation Disable floating-point emulation + --disable-atomics Emulate atomic ops nonatomically Some influential environment variables: CC C compiler command @@ -4047,6 +4049,19 @@ $as_echo "#define PK_ENABLE_FP_EMULATION /**/" >>confdefs.h fi +# Check whether --enable-atomics was given. +if test "${enable_atomics+set}" = set; then : + enableval=$enable_atomics; +fi + +if test "x$enable_atomics" != "xno"; then : + + +$as_echo "#define PK_ENABLE_ATOMICS /**/" >>confdefs.h + + +fi + |