summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-02-04 10:39:54 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2023-02-04 10:39:54 +0100
commitdc3464b48a6385fb1e9ad4c36342f953f9f41af8 (patch)
tree1ef01e601cb5b72b66f77b001e894885cc64a694
parent8d12c84b5b23a5fa9082d6246f788d25b50b8653 (diff)
avr32: allow to build toolchain with newer host gcc
-rwxr-xr-xscripts/prereq.sh4
1 files changed, 2 insertions, 2 deletions
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