Skip to content
Commit 2abf0314 authored by Igor Druzhinin's avatar Igor Druzhinin Committed by Carles Cufí
Browse files

toolchain: gcc: fix GCC < 11.0.0 build with -Wundef



When building using GCC version < 11.0.0, TOOLCHAIN_CLANG_VERSION is not
yet defined in gcc.h. Nevertheless, it's still needed due to reuse of
gcc.h in llvm.h.

Guard access to TOOLCHAIN_CLANG_VERSION to fix that.

Signed-off-by: default avatarIgor Druzhinin <igord@xilinx.com>
parent f89c5ddd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment