immortalwrt/package/utils
Robert Marko a8bbadefaf
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:40:28 +08:00
..
adb
bcm27xx-userland bcm27xx-userland: update to latest version 2021-08-21 19:39:55 +02:00
bcm4908img bcm4908img: detect Linksys images 2021-12-13 14:33:06 +01:00
bsdiff
busybox Merge Official Source 2022-01-10 20:26:41 +08:00
bzip2
checkpolicy checkpolicy: update to version 3.2 2021-03-15 21:53:16 +00:00
ct-bugcheck
dtc dtc: support printing binary data with fdtget 2022-01-03 14:28:13 +01:00
e2fsprogs build: reorder more BuildPackages lines to deal with ABI_VERSION 2021-02-16 12:27:56 +01:00
f2fs-tools f2fs-tools: update to 1.14.0 2021-02-14 19:38:15 +01:00
fbtest
fritz-tools fritz-tools: fix returning wrong values due to strncmp usage 2021-08-08 20:51:52 +02:00
jboot-tools
jsonfilter
lua lua: fix integer overflow in LNUM patch 2023-08-12 08:07:01 +08:00
lua5.3
mdadm
mhz mhz: respect CC and CFLAGS passed by buildsystem 2023-09-04 14:40:28 +08:00
mtd-utils mtd-utils: remove lzo build dependency 2020-12-06 11:21:37 -10:00
nvram packages: nvram: add NVRAM quirks for bcm53xx target 2022-12-11 09:27:56 +08:00
osafeloader
oseama
otrx otrx: update to the latest master 2021-12-13 14:01:11 +01:00
policycoreutils policycoreutils: update to version 3.2 2021-03-15 21:53:16 +00:00
px5g-mbedtls px5g: rename to px5g-mbedtls 2020-08-31 10:19:31 +01:00
px5g-wolfssl treewide: fix security issues by bumping all packages using libwolfssl 2022-10-05 21:09:50 +02:00
ravpower-mcu
secilc secilc: update to version 3.2 2021-03-15 21:53:16 +00:00
spidev_test sdk: add spidev-test to the bundle of userspace sources 2022-07-19 20:27:06 +02:00
ugps ugps: start also in case device is absent 2021-06-15 12:16:10 +01:00
usbmode
util-linux util-linux: move libuuid BuildPackage line further up to fix ABI versioning 2021-02-16 00:00:14 +01:00