diff options
author | dotnet-bot <dotnet-bot@microsoft.com> | 2022-07-13 19:56:12 +0300 |
---|---|---|
committer | dotnet-bot <dotnet-bot@microsoft.com> | 2022-07-13 19:56:12 +0300 |
commit | 55fb7ef977e7d120dc12f0960edcff0739d7ee0e (patch) | |
tree | ea126c31214f3142ef13138f9dd8f1e2b1aef29e | |
parent | f9fbf00e01a9fa47c855bbfd8f983eea4fda1fa0 (diff) | |
parent | f8bf0fcc30d2e1f606266db1b644266c7bdbf063 (diff) |
Merge in 'release/6.0' changesv6.0.8
-rw-r--r-- | src/libraries/Native/Unix/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libraries/Native/Unix/CMakeLists.txt b/src/libraries/Native/Unix/CMakeLists.txt index 6fae902369c..6931f62d24c 100644 --- a/src/libraries/Native/Unix/CMakeLists.txt +++ b/src/libraries/Native/Unix/CMakeLists.txt @@ -22,7 +22,7 @@ if(CLR_CMAKE_TARGET_MACCATALYST OR CLR_CMAKE_TARGET_IOS OR CLR_CMAKE_TARGET_TVOS endif() set(CMAKE_INSTALL_PREFIX $ENV{__CMakeBinDir}) set(CMAKE_INCLUDE_CURRENT_DIR ON) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wno-declaration-after-statement") set(VERSION_FILE_PATH "${CMAKE_BINARY_DIR}/version.c") # We mark the function which needs exporting with PALEXPORT |