Skip to content
Snippets Groups Projects
Commit fce0ce56 authored by Dylan Aïssi's avatar Dylan Aïssi
Browse files

Revert passing --param=min-pagesize=0 in CFLAGS

parent 65df9c87
No related branches found
No related tags found
1 merge request!15Fix build failures
Pipeline #433758 failed
arm-trusted-firmware (2.7.0+dfsg-2+apertis2) UNRELEASED; urgency=medium
* Revert passing --param=min-pagesize=0 in CFLAGS.
This change is required only for gcc-12, since we still use gcc-10
in Apertis, it fails to build with an "unrecognized command-line option".
-- Dylan Aïssi <dylan.aissi@collabora.com> Fri, 04 Nov 2022 13:52:38 +0100
arm-trusted-firmware (2.7.0+dfsg-2+apertis1) apertis; urgency=medium
* Merge from Debian bookworm. Remaining Apertis changes:
......
......@@ -33,7 +33,7 @@ define build_platform
$(eval subplatforms := $(if $($(platform)_subplatforms), $($(platform)_subplatforms), $(platform)))
$(eval target := $(if $(filter rk3328 rk3399,$(platform)),bl31/bl31.elf,bl31.bin))
$(foreach subplatform, $(subplatforms), \
CROSS_COMPILE=aarch64-linux-gnu- CFLAGS=--param=min-pagesize=0 LDFLAGS= TF_LDFLAGS=--no-warn-rwx-segments dh_auto_build -- V=$(VERBOSE) DEBUG=$(debug) $($(subplatform)_assigns) PLAT=$(platform) bl31 ; \
CROSS_COMPILE=aarch64-linux-gnu- CFLAGS= LDFLAGS= TF_LDFLAGS=--no-warn-rwx-segments dh_auto_build -- V=$(VERBOSE) DEBUG=$(debug) $($(subplatform)_assigns) PLAT=$(platform) bl31 ; \
install -m644 build/$(platform)/$(buildtype)/$(target) -Dt build/renamed/$(subplatform) ; \
# For each subplatform, make is called using the same PLAT variable. If
# the build is not cleaned between each call, objects will remain the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment