diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-11-29 17:34:37 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-11-30 09:53:51 +0100 |
commit | ee4a95b431f57cee0fad223ffe0797bf4a8d5a34 (patch) | |
tree | dfbcf1fee1330c7325c42af40d1c3706334d79d2 | |
parent | cd542ecd485f676a8cefe12eb47e795a3b16b005 (diff) | |
download | unitd-ee4a95b431f57cee0fad223ffe0797bf4a8d5a34.tar unitd-ee4a95b431f57cee0fad223ffe0797bf4a8d5a34.zip |
Re-add accidentially removed compiler flags
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d2443c..3c874d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ find_package(JSON_C REQUIRED) add_executable(init unitd.c signal.c watchdog.c state.c askconsole.c ubus.c system.c early.c service/service.c service/instance.c utils/utils.c) -set_property(TARGET init PROPERTY COMPILE_FLAGS "${JSON_C_CFLAGS_OTHER}") +set_property(TARGET init PROPERTY COMPILE_FLAGS "-std=gnu99 -Wall ${JSON_C_CFLAGS_OTHER}") set_property(TARGET init PROPERTY LINK_FLAGS "${JSON_C_LDFLAGS_OTHER}") set_property(TARGET init PROPERTY INCLUDE_DIRECTORIES ${JSON_C_INCLUDE_DIR}) target_link_libraries(init ubox ubus blobmsg_json ${JSON_C_LIBRARIES}) |