diff options
Diffstat (limited to 'libjava/configure')
| -rwxr-xr-x | libjava/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/configure b/libjava/configure index 514a1aa294e..4e34cc94706 100755 --- a/libjava/configure +++ b/libjava/configure @@ -3327,7 +3327,7 @@ if test -d sysdep; then true; else mkdir sysdep; fi HASH_SYNC_SPEC= # Hash synchronization is only useful with posix threads right now. -if test "$enable_hash_synchronization" = yes; then +if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then HASH_SYNC_SPEC=-fhash-synchronization cat >> confdefs.h <<\EOF #define JV_HASH_SYNCHRONIZATION 1 |

