[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/05: cmake: revert GCC standard to gnu99
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/05: cmake: revert GCC standard to gnu99 to accomodate 4.6.3 |
Date: |
Mon, 1 Aug 2016 21:58:54 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit 611493e12af8edaf50645e19aa94372ec1c3e387
Author: Johnathan Corgan <address@hidden>
Date: Mon Aug 1 11:58:01 2016 -0700
cmake: revert GCC standard to gnu99 to accomodate 4.6.3
* Oldest support gcc for 3.7 series is on Ubuntu 12.04,
gcc 4.6.3, which does not support gnu11.
* Support for Ubuntu 12.04 will drop off for the 3.8 release.
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2834fc6..9e52f73 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -72,9 +72,9 @@ ELSE()
ENDIF()
IF(CMAKE_C_COMPILER_ID STREQUAL "GNU")
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu11")
+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99")
ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "Clang")
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu11")
+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99")
ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "MSVC")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11")
ELSE()