| author | |
| committer | |
| log | 3625df25d6fe0b11e4c1c33454b621ec8a8c10ba |
| tree | 2378ebb05a137800416a056931309b34b7a24be0 |
| parent | 74b10c08d1bd0b64aa8175dff6dec178c7c3bbee |
| signature |
* build: add flag to LLD to fix gcc 8 build
* build: add -Wno-unknown-warning-option to work around older gcc
1 files changed, 1 insertions(+), 1 deletions(-)
CMakeLists.txt+1-1| ... | ... | @@ -196,7 +196,7 @@ else() |
| 196 | 196 | if(MSVC) |
| 197 | 197 | set(ZIG_LLD_COMPILE_FLAGS "-std=c++11 -D_CRT_SECURE_NO_WARNINGS /w") |
| 198 | 198 | else() |
| 199 | set(ZIG_LLD_COMPILE_FLAGS "-std=c++11 -fno-exceptions -fno-rtti -Wno-comment") | |
| 199 | set(ZIG_LLD_COMPILE_FLAGS "-std=c++11 -fno-exceptions -fno-rtti -Wno-comment -Wno-class-memaccess -Wno-unknown-warning-option") | |
| 200 | 200 | endif() |
| 201 | 201 | set_target_properties(embedded_lld_lib PROPERTIES |
| 202 | 202 | COMPILE_FLAGS ${ZIG_LLD_COMPILE_FLAGS} |