Skip to content
Commit 462b9546 authored by Eero Aaltonen's avatar Eero Aaltonen Committed by Jérôme Forissier
Browse files

Add -Wunsafe-loop-optimizations only for gcc



Compiling with clang would fail with
```
error: unknown warning option '-Wunsafe-loop-optimizations'
```
Adjust CMake so that the warning is only added for GNU compiler.

Signed-off-by: default avatarEero Aaltonen <eero.aaltonen@vaisala.com>
Acked-by: default avatarJerome Forissier <jerome.forissier@linaro.org>
parent 20965429
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment