aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-08 02:31:50 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-08 02:31:50 +0000
commitbb119a4fae90e73d48c078024e101bebfdfae5d8 (patch)
treea7fc871d9595c3f2ea98f872bd373a8886b9f6b0 /cmake
parent37a6a455466e5b197311771a777ab241e471ed8a (diff)
downloadcompiler-rt-bb119a4fae90e73d48c078024e101bebfdfae5d8.tar.gz
Fix signedness warning in mprotect call, Clean up and improve endianness.h header.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78451 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/DefineCompilerFlags.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/DefineCompilerFlags.cmake b/cmake/Modules/DefineCompilerFlags.cmake
index ddfc2e362..ff3fbd0ed 100644
--- a/cmake/Modules/DefineCompilerFlags.cmake
+++ b/cmake/Modules/DefineCompilerFlags.cmake
@@ -1,4 +1,4 @@
# Define compiler flags
#ADD_DEFINITIONS( -Wall -W -Werror -pedantic )
-ADD_DEFINITIONS( -Wall -W -pedantic )
+ADD_DEFINITIONS( -std=gnu99 -Wall -Wextra -W -pedantic -Wno-unused-parameter )