]> git.ipfire.org Git - thirdparty/vectorscan.git/commit
cmake - guard against failed GNUCC_ARCH extraction (#339)
authoribrkas01arm <ibrahim.kashif@arm.com>
Mon, 21 Jul 2025 11:36:59 +0000 (12:36 +0100)
committerGitHub <noreply@github.com>
Mon, 21 Jul 2025 11:36:59 +0000 (14:36 +0300)
commit14eb7c3f400df7597e40bedcd2038fc46d2d3e95
tree37242fabb09422300e4516e829a821170d4167ea
parentca70a3d9beca61b58c6709fead60ec662482d36e
cmake - guard against failed GNUCC_ARCH extraction (#339)

Prevents overwriting GNUCC_ARCH with an empty value when parsing output
of gcc -Q --help=target. Ensures robustness if detection fails and
returns an empty string.

Signed-off-by: Ibrahim Kashif <ibrahim.kashif@arm.com>
cmake/archdetect.cmake