]> git.ipfire.org Git - thirdparty/openwrt.git/commit
ext-toolchain: fix wrapper for gcc-ar, gcc-nm, gcc-ranlib 21757/head
authorGustavo Henrique Nihei <gustavo.nihei@espressif.com>
Fri, 23 Jan 2026 21:04:59 +0000 (18:04 -0300)
committerRobert Marko <robimarko@gmail.com>
Fri, 6 Feb 2026 16:32:06 +0000 (17:32 +0100)
commit435917735ab8a9ba23300dda77aaace13fc16d96
tree2cfe1b31a2a13baf697e5a1c8ec283618bd32f6b
parente3be4654a1f405985964d8b5e5add3c149f55fba
ext-toolchain: fix wrapper for gcc-ar, gcc-nm, gcc-ranlib

The pattern '*-*cc-*' incorrectly matches these tools because their names
contain 'cc-'. This causes them to receive compiler CFLAGS, breaking
builds with 'ar: two different operation options specified'.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
Link: https://github.com/openwrt/openwrt/pull/21757
Signed-off-by: Robert Marko <robimarko@gmail.com>
scripts/ext-toolchain.sh