diff options
Diffstat (limited to 'm4/threads.m4')
-rw-r--r-- | m4/threads.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/threads.m4 b/m4/threads.m4 index 7682bd40e71..d803402235b 100644 --- a/m4/threads.m4 +++ b/m4/threads.m4 @@ -51,6 +51,9 @@ dnl Check if compiler accepts specific flag to enable threads ace_save_CXXFLAGS="$CXXFLAGS" ace_save_CFLAGS="$CFLAGS" + CXXFLAGS="$CXXFLAGS -mt" + CFLAGS="$CFLAGS -mt" + ACE_CACHE_CHECK(if compiler can use -mt flag, ace_cv_feature_has_mt_flag, [ |