]> git.ipfire.org Git - thirdparty/openwrt.git/commit
ext-toolchain: fix wrapper for gcc-ar, gcc-nm, gcc-ranlib 21899/head
authorGustavo Henrique Nihei <gustavo.nihei@espressif.com>
Fri, 23 Jan 2026 21:04:59 +0000 (18:04 -0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 7 Feb 2026 16:50:57 +0000 (17:50 +0100)
commitcb209ad0d480bb9180d4c49827f5edaa9f0a1958
tree8cb2ed04b99e31791cb48c972a703f929c704366
parent45788a48c7236564f98ba22852491fa2907951b3
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>
(cherry picked from commit 435917735ab8a9ba23300dda77aaace13fc16d96)
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
Link: https://github.com/openwrt/openwrt/pull/21899
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
scripts/ext-toolchain.sh