Commit 1af31ad
committed
cmake: Switch TOOLCHAIN_VARIANT_COMPILER test around for old Zephyr bisectabilty
When building with Zephyr that doesn't have full SDK 1.0 support, the
TOOLCHAIN_VARIANT_COMPILER variable will not be set. So, instead of
checking whether that is equal to "gnu", check if it is not equal to
"llvm" so that we ensure that we use the -O2 version of libstdc++ when
exceptions are required.
Signed-off-by: Keith Packard <[email protected]>1 parent b7f98b0 commit 1af31ad
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
0 commit comments