immortalwrt/package/utils
Robert Marko 14a0ec41f8
mhz: respect CC and CFLAGS passed by buildsystem
It seems that the Makefile has both CC and CFLAGS hardcoded and does not
allow overriding them by ones being passed by the buildsystem.

This works fine until CONFIG_PKG_ASLR_PIE_ALL is selected, then building
will fail with:
arm-openwrt-linux-muslgnueabi/bin/ld.bfd: mhz.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
arm-openwrt-linux-muslgnueabi/bin/ld.bfd: mhz.o(.text+0x75c): unresolvable R_ARM_CALL relocation against symbol `__aeabi_l2d@@GCC_3.5

So, lets add a patch pending upstream that allows both CC and CFLAGS to be
overriden so that ones passed by the buildsystem are actually respected.

Fixes: 89123b308f98 ("mhz: add new package")
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 6c28f46f37d35dce06c320d9ac7f256c113aea22)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 8c90527a80)
2023-09-04 14:39:58 +08:00
..
adb
bcm27xx-userland treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
bcm4908img bcm4908img: detect Linksys images 2021-10-02 20:26:42 +02:00
bsdiff build: prefer HTTPS if available (for packages) 2022-10-05 17:37:07 +02:00
busybox Merge Official Source 2023-05-25 23:00:39 +08:00
bzip2
checkpolicy checkpolicy: update to 3.5 2023-05-18 10:14:13 +02:00
ct-bugcheck
dtc treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
e2fsprogs e2fsprogs: do not symlink tune2fs to findfs 2023-08-11 12:53:33 +02:00
f2fs-tools f2fs-tools: update to 1.16.0 2023-05-19 12:07:14 +02:00
fbtest
fritz-tools fritz-tools: fix segfault in caldata-extract 2023-03-02 17:04:28 +01:00
jboot-tools
jsonfilter jsonfilter: update makefile url 2022-02-26 13:36:30 +01:00
lua lua: fix integer overflow in LNUM patch 2023-08-11 12:53:33 +02:00
lua5.3 build: prefer HTTPS if available (for packages) 2022-10-05 17:37:07 +02:00
mdadm mdadm: fix compilation with musl 1.2.4 2023-05-16 22:54:29 +02:00
mhz mhz: respect CC and CFLAGS passed by buildsystem 2023-09-04 14:39:58 +08:00
mtd-utils treewide: add support for "gc-sections" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
nvram packages: nvram: add NVRAM quirks for bcm53xx target 2022-05-04 21:51:20 +02:00
osafeloader
oseama
otrx otrx: update to the latest master 2021-12-13 13:48:08 +01:00
policycoreutils policycoreutils: update to 3.5 2023-05-18 10:14:13 +02:00
px5g-mbedtls treewide: replace PKG_USE_MIPS16:=0 with PKG_BUILD_FLAGS:=no-mips16 2023-03-21 18:28:22 +01:00
px5g-wolfssl px5g-wolfssl: replace COMMITCOUNT with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
ravpower-mcu
secilc secilc: update to 3.5 2023-05-18 10:14:13 +02:00
spidev_test sdk: add spidev-test to the bundle of userspace sources 2022-07-17 14:19:21 +02:00
ucode ucode: update to the latest version 2023-06-08 18:52:40 +08:00
ucode-mod-bpf ucode-mod-bpf: add new package for a ucode libbpf binding 2023-01-09 11:35:20 +01:00
uencrypt uencrypt: split common and library-specific code 2023-03-17 17:22:54 -03:00
ugps treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
usbmode usbmode: update to version 2022-02-24 2022-02-26 13:36:30 +01:00
util-linux util-linux: enable colrm util as package 2023-08-11 12:53:33 +02:00
yafut yafut: add a kernel update tool for MikroTik NAND 2023-04-18 13:53:04 +02:00
zyxel-bootconfig mediatek: add support for ZyXEL NWA50AX Pro 2023-07-23 16:10:08 +02:00