Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2015-01-10 00:34:38 +0300
committerAdam Langley <agl@google.com>2015-01-13 02:45:34 +0300
commitf9a40b2ce54ec5001da018e9a4fb8615ed08a4a8 (patch)
tree52f6d5a8b014770bde9ecb087ac8868c7485cdb8 /CMakeLists.txt
parent13be1de469eea3b9ec88a66c892654f4ef08bc8c (diff)
Remove -std=c89 from compiler command line.
We aren't targeting pure C89 any longer and it also upsets GCC on AArch64 because asm() isn't part of C89. Change-Id: I0ba299160e2f0c40d9a99ea8df13b4bb33c08163 Reviewed-on: https://boringssl-review.googlesource.com/2800 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 40a34657..c7b7044b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,7 @@ cmake_minimum_required (VERSION 2.8.8)
project (BoringSSL)
if(CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wshadow -Werror -ggdb -std=c89")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wshadow -Werror -ggdb")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wshadow -Werror -ggdb -std=c++0x")
elseif(MSVC)
# Disable warnings for implicit integer narrowing.