summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-03-04 01:02:35 +0000
committerEric Fiselier <eric@efcs.ca>2017-03-04 01:02:35 +0000
commit9e9cb7b0c2dfc5a108b1f76a05ea415c19e5f890 (patch)
tree370e1c1f7caf3d77b6ae08fe4682583377837d2f /cmake
parented5abb1a7c76255a3fca13c1b26fc3c4f1aac5e9 (diff)
Turn on -Wunused-function and cleanup occurances
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@296936 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config-ix.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 6ac6152..8a4ca49 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -12,7 +12,7 @@ check_cxx_compiler_flag(-nodefaultlibs LIBCXXABI_HAS_NODEFAULTLIBS_FLAG)
check_cxx_compiler_flag(-nostdinc++ LIBCXXABI_HAS_NOSTDINCXX_FLAG)
check_cxx_compiler_flag(-Wall LIBCXXABI_HAS_WALL_FLAG)
check_cxx_compiler_flag(-W LIBCXXABI_HAS_W_FLAG)
-check_cxx_compiler_flag(-Wno-unused-function LIBCXXABI_HAS_WNO_UNUSED_FUNCTION_FLAG)
+check_cxx_compiler_flag(-Wunused-function LIBCXXABI_HAS_WUNUSED_FUNCTION_FLAG)
check_cxx_compiler_flag(-Wunused-variable LIBCXXABI_HAS_WUNUSED_VARIABLE_FLAG)
check_cxx_compiler_flag(-Wunused-parameter LIBCXXABI_HAS_WUNUSED_PARAMETER_FLAG)
check_cxx_compiler_flag(-Wstrict-aliasing LIBCXXABI_HAS_WSTRICT_ALIASING_FLAG)