crust-firmware / crust

SCP (power management) firmware for sunxi SoCs
Other
150 stars 34 forks source link

Build fail on Debian Testing #207

Closed serhii-nakon closed 1 year ago

serhii-nakon commented 1 year ago

FOR BUG REPORTS: After update GCC/LD in Debian testing it throw warnings about RWX load segments it cause building fail. It possible to fix by adding -Wl,--no-warn-rwx-segments to LDFLAGS - it just hide this.

Does it possible to add this parameter by default or make ability to add it from user environment variable (like there https://github.com/serhii-nakon/u-boot-opi3/blob/master/uboot.sh#L19 and https://github.com/serhii-nakon/u-boot-opi3/blob/master/patches/0001-add_ability_set_ldflags.patch?