fix(build): allow lower address access with gcc-12

With gcc-12 any lower address access can trigger a warning/error
this would be useful in other parts of system but in TFTF
there are various reasons to access to the lower address ranges for
tests, example using mmio_read_*/writes_*

So setup to allow access to lower addresses while using gcc-12

Change-Id: I3153fd4545e79d14151249fcb5a395c9e61a771a
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
diff --git a/Makefile b/Makefile
index 0bcd3e3..b7d181c 100644
--- a/Makefile
+++ b/Makefile
@@ -243,6 +243,9 @@
 # are not loaded by a elf loader.
 COMMON_LDFLAGS		+=	$(call ld_option, --no-warn-rwx-segments)
 
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
+COMMON_CFLAGS		+=	$(call cc_option, --param=min-pagesize=0)
+
 ################################################################################
 
 TFTF_SOURCES		:= ${FRAMEWORK_SOURCES}	${TESTS_SOURCES} ${PLAT_SOURCES} ${LIBC_SRCS} ${LIBFDT_SRCS}