From dc3464b48a6385fb1e9ad4c36342f953f9f41af8 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 4 Feb 2023 10:39:54 +0100 Subject: avr32: allow to build toolchain with newer host gcc --- scripts/prereq.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/prereq.sh b/scripts/prereq.sh index 0d7b7213f..b1f28d45e 100755 --- a/scripts/prereq.sh +++ b/scripts/prereq.sh @@ -359,8 +359,8 @@ else echo "HOST_CXX:=${CXX}" >> $topdir/prereq.mk fi -echo "HOST_CFLAGS:=-O0 -g0" >> $topdir/prereq.mk -echo "HOST_CXXFLAGS:=-O0 -g0" >> $topdir/prereq.mk +echo "HOST_CFLAGS:=-O0 -g0 -fcommon" >> $topdir/prereq.mk +echo "HOST_CXXFLAGS:=-O0 -g0 -fcommon" >> $topdir/prereq.mk echo 'LANGUAGE:=C' >> $topdir/prereq.mk echo 'LC_ALL:=C' >> $topdir/prereq.mk echo "_PATH:=$PATH" >> $topdir/prereq.mk -- cgit v1.2.3