immortalwrt/package/utils
Robert Marko 8c90527a80
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>
2023-09-04 14:39:17 +08:00
..
adb
bcm27xx-userland treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
bcm4908img
bsdiff build: prefer HTTPS if available (for packages) 2022-10-05 17:37:07 +02:00
busybox Merge Official Source 2023-05-23 12:19:10 +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-07-08 16:51:17 +02:00
f2fs-tools f2fs-tools: update to 1.16.0 2023-05-19 12:07:14 +02:00
fbtest
firmware-utils firmware-utils: add missing build dependencies 2023-06-01 23:54:20 +02:00
fritz-tools fritz-tools: fix segfault in caldata-extract 2023-03-02 17:04:28 +01:00
jboot-tools
jsonfilter
lua lua: fix integer overflow in LNUM patch 2023-07-08 16:56:12 +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:17 +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 asus,rt-ac3100 to set_wireless_led_behaviour quirk 2023-08-19 11:03:11 +02:00
osafeloader
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-29 12:54:34 +02: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 ugps: update to latest HEAD, introduce baudrate 2023-07-26 14:28:09 +02:00
usbmode
util-linux util-linux: enable colrm util as package 2023-07-11 21:08:16 +03: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-21 20:28:13 +02:00