toolchain/gcc: Fix GCC version check
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 19 Dec 2022 23:58:19 +0000 (00:58 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 8 Jan 2023 23:23:41 +0000 (00:23 +0100)
commita58b29ded7a6d3209aad1d2ff30b5a38d692a45f
tree82bb1283bb191dcdf61349b38e503366ae406846
parent25223b22c86ab07aa174e0285784f591f145a825
toolchain/gcc: Fix GCC version check

The version check which sets GCC_VERSION_FILE to the correct value only
worked when the advanced options menu was active and not when it was not
active.

Thank you Tony Butler for the fix.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
toolchain/gcc/common.mk