coreutils: apply PKG_FIXUP conditionally
authorJohn Audia <redacted>
Sat, 22 Mar 2025 17:08:29 +0000 (13:08 -0400)
committerHannu Nyman <redacted>
Sat, 22 Mar 2025 17:59:19 +0000 (19:59 +0200)
commit716cb3deac29163874be30ac59a668b3856dcc24
tree44f75ad7ef4b7367e1931a90285990b3bc886e98
parented57afa392cf57676dcdde420d6397354352f159
coreutils: apply PKG_FIXUP conditionally

PKG_FIXUP:=autoreconf introduced in this commit[1] to fix builds with GCC 14
does not play well with GCC 13. Apply it conditionally.

I build some coreutils packages under GCC 13 and again under GCC 14 and both
completed successfully.

Build system: x86/64
Build-tested: x86/64

Fixes https://github.com/openwrt/packages/issues/26175

1. https://github.com/openwrt/packages/commit/b1a648e1ff60932e2b8f65479da3059d1c1b8b58

Signed-off-by: John Audia <redacted>
utils/coreutils/Makefile
git clone https://git.99rst.org/PROJECT