From fa94202d70a7569666f837edca0c6103e83bbba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krystian=20Bac=C5=82awski?= Date: Tue, 18 Oct 2016 22:23:41 +0200 Subject: [PATCH] Do not require C standard library headers to compile libgcc.a --- gcc/config/m68k/t-amigaos | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gcc/config/m68k/t-amigaos b/gcc/config/m68k/t-amigaos index 05c5f89..fd6b9bb 100644 --- a/gcc/config/m68k/t-amigaos +++ b/gcc/config/m68k/t-amigaos @@ -9,11 +9,11 @@ amigaos.o: $(srcdir)/config/m68k/amigaos.c $(CONFIG_H) LIBGCC1 = libgcc1.null CROSS_LIBGCC1 = libgcc1.null -# Additional target dependent options for compiling libgcc.a. This just -# ensures that we don't compile libgcc* with anything other than a -# fixed stack. - -TARGET_LIBGCC2_CFLAGS = -mfixedstack +# Additional target dependent options for compiling libgcc.a. +# 1) Ensure that we don't compile libgcc* with anything other than a fixed +# stack. +# 2) Do not require C standard library headers to compile libgcc.a +TARGET_LIBGCC2_CFLAGS = -mfixedstack -Dinhibit_libc MULTILIB_OPTIONS = resident/resident32 m68000/m68020 MULTILIB_DIRNAMES = libb libb32 . libm020