aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules/PaludisCompileFlags.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/PaludisCompileFlags.cmake')
-rw-r--r--cmake/modules/PaludisCompileFlags.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/PaludisCompileFlags.cmake b/cmake/modules/PaludisCompileFlags.cmake
index 7db849f37..2d3dae17f 100644
--- a/cmake/modules/PaludisCompileFlags.cmake
+++ b/cmake/modules/PaludisCompileFlags.cmake
@@ -76,3 +76,5 @@ append_if(CXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN "-fvisibility-inlines-hidden"
check_cxx_compiler_flag("-Werror -fno-strict-aliasing" CXX_SUPPORTS_FNO_STRICT_ALIASING)
check_cxx_compiler_flag("-Werror -g0" CXX_SUPPORTS_G0)
+check_cxx_compiler_flag("-Werror -fdeclspec" CXX_SUPPORTS_FDECLSPEC)
+