commit | ba9f3582428fcae1ae2a2cadc0ccd52f76e14c05 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Feb 22 10:26:32 2023 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Feb 22 10:26:32 2023 +0100 |
tree | c2ff9323b891f7ddb9d97275c816f5ffcf422dd2 | |
parent | 73699b6250be4c576d15aa75f8baf031363ddab4 [diff] [blame] |
build UPDATE use c99 standard instead of gnu99 GNU extensions are not mandatory for a long time now.
diff --git a/CMakeLists.txt b/CMakeLists.txt index 12d49d7..2c96c62 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -76,7 +76,7 @@ set(LIBYANG_DEP_SOVERSION 2.28.0) set(LIBYANG_DEP_SOVERSION_MAJOR 2) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -fvisibility=hidden -std=gnu99") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -fvisibility=hidden -std=c99") # # options