This is an automated email from the ASF dual-hosted git repository.
pengzheng pushed a commit to branch feature/579-automatic-dependency-deduction
in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to
refs/heads/feature/579-automatic-dependency-deduction by this push:
new 2c060bd6 Revert "Use POSIX extension."
2c060bd6 is described below
commit 2c060bd6a9429f44f3a2a75a28c7222fd4e81e45
Author: PengZheng <[email protected]>
AuthorDate: Fri Jul 14 23:46:22 2023 +0800
Revert "Use POSIX extension."
This reverts commit 9ced95bb27c8d53ac909cf3a33dfb45adeedfb20.
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1f9c7aeb..1c00d485 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -46,7 +46,7 @@ if (ENABLE_TESTING)
endif ()
# Set C specific flags
-set(CMAKE_C_FLAGS "-D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L -std=c99 -fPIC
${CMAKE_C_FLAGS}")
+set(CMAKE_C_FLAGS "-D_GNU_SOURCE -std=gnu99 -fPIC ${CMAKE_C_FLAGS}")
set(CMAKE_C_FLAGS "-Wall -Werror -Wformat -Wno-error=deprecated-declarations
${CMAKE_C_FLAGS}")
# Set C++ specific flags