diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2019-12-25 20:32:29 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2019-12-25 20:30:55 +0100 |
commit | ed20640a04872f7ab58e6e4428e1536b81141213 (patch) | |
tree | 94a4695dbd68d66d7df3350e3b02e9813de0fc3e /testing/lowjs/open62541-gcc9.patch | |
parent | 0f5e8e387acadcca36686b7ba0be4225c2b6518b (diff) | |
download | aports-ed20640a04872f7ab58e6e4428e1536b81141213.tar.bz2 aports-ed20640a04872f7ab58e6e4428e1536b81141213.tar.xz |
testing/lowjs: new aport
Diffstat (limited to 'testing/lowjs/open62541-gcc9.patch')
-rw-r--r-- | testing/lowjs/open62541-gcc9.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/lowjs/open62541-gcc9.patch b/testing/lowjs/open62541-gcc9.patch new file mode 100644 index 0000000000..9e080dae20 --- /dev/null +++ b/testing/lowjs/open62541-gcc9.patch @@ -0,0 +1,13 @@ +Adjust compile flags for open62541 to build with gcc 9. + +--- a/deps/open62541/CMakeLists.txt ++++ b/deps/open62541/CMakeLists.txt +@@ -407,6 +407,8 @@ + -Wc++-compat + -fno-strict-aliasing # fewer compiler assumptions about pointer types + -fexceptions # recommended for multi-threaded C code, also in combination with C++ code ++ -Wno-cast-function-type ++ -Wno-restrict + ) + set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Werror") + |