From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id 704903858D20; Thu, 17 Feb 2022 01:00:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 704903858D20 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] newlib: i386/xstormy16: drop unused -I libm/common flag X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: 9f1930bf34123e95b7fbbb1ff05be0caf2ca9881 X-Git-Newrev: d1591ed4a11ba0b2730d6b846f0213c9a0e94b1c Message-Id: <20220217010005.704903858D20@sourceware.org> Date: Thu, 17 Feb 2022 01:00:05 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Feb 2022 01:00:05 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3Dd1591ed4a11= ba0b2730d6b846f0213c9a0e94b1c commit d1591ed4a11ba0b2730d6b846f0213c9a0e94b1c Author: Mike Frysinger Date: Mon Feb 14 01:00:11 2022 -0500 newlib: i386/xstormy16: drop unused -I libm/common flag =20 These subdirs don't actually use anything from libm. The common dir in particular only has 4 header files, and none are included here. =20 The xstormy16 code has a comment mentioning why this hack is here, but it refers to code that was removed when its configure script was merged up a level. Diff: --- newlib/libc/machine/i386/Makefile.am | 2 +- newlib/libc/machine/i386/Makefile.in | 2 +- newlib/libc/machine/xstormy16/Makefile.am | 4 +--- newlib/libc/machine/xstormy16/Makefile.in | 5 +---- 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/newlib/libc/machine/i386/Makefile.am b/newlib/libc/machine/i38= 6/Makefile.am index 28525ae57..fa1bec6ef 100644 --- a/newlib/libc/machine/i386/Makefile.am +++ b/newlib/libc/machine/i386/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to generate Makefile.in =20 -AM_CPPFLAGS =3D -I $(abs_newlib_basedir)/libm/common $(NEWLIB_CFLAGS) $(TA= RGET_CFLAGS) +AM_CPPFLAGS =3D $(NEWLIB_CFLAGS) $(TARGET_CFLAGS) =20 AM_CCASFLAGS =3D $(AM_CPPFLAGS) =20 diff --git a/newlib/libc/machine/i386/Makefile.in b/newlib/libc/machine/i38= 6/Makefile.in index eb63d0177..a3423890c 100644 --- a/newlib/libc/machine/i386/Makefile.in +++ b/newlib/libc/machine/i386/Makefile.in @@ -300,7 +300,7 @@ target_alias =3D @target_alias@ top_build_prefix =3D @top_build_prefix@ top_builddir =3D @top_builddir@ top_srcdir =3D @top_srcdir@ -AM_CPPFLAGS =3D -I $(abs_newlib_basedir)/libm/common $(NEWLIB_CFLAGS) $(TA= RGET_CFLAGS) +AM_CPPFLAGS =3D $(NEWLIB_CFLAGS) $(TARGET_CFLAGS) AM_CCASFLAGS =3D $(AM_CPPFLAGS) @MACH_ADD_SETJMP_FALSE@ADDED_SOURCES =3D=20 @MACH_ADD_SETJMP_TRUE@ADDED_SOURCES =3D setjmp.S diff --git a/newlib/libc/machine/xstormy16/Makefile.am b/newlib/libc/machin= e/xstormy16/Makefile.am index 877c59bf6..faaac8941 100644 --- a/newlib/libc/machine/xstormy16/Makefile.am +++ b/newlib/libc/machine/xstormy16/Makefile.am @@ -1,8 +1,6 @@ ## Process this file with automake to generate Makefile.in =20 -# hack: putting $(abs_newlib_basedir)/libm/common into AM_CPPFLAGS forces = automake -# to output a definition for newlib_basedir. -AM_CPPFLAGS =3D -I $(abs_newlib_basedir)/libm/common $(NEWLIB_CFLAGS) $(TA= RGET_CFLAGS) +AM_CPPFLAGS =3D $(NEWLIB_CFLAGS) $(TARGET_CFLAGS) =20 AM_CCASFLAGS =3D $(AM_CPPFLAGS) =20 diff --git a/newlib/libc/machine/xstormy16/Makefile.in b/newlib/libc/machin= e/xstormy16/Makefile.in index 9a91d711d..0651611ff 100644 --- a/newlib/libc/machine/xstormy16/Makefile.in +++ b/newlib/libc/machine/xstormy16/Makefile.in @@ -290,10 +290,7 @@ target_alias =3D @target_alias@ top_build_prefix =3D @top_build_prefix@ top_builddir =3D @top_builddir@ top_srcdir =3D @top_srcdir@ - -# hack: putting $(abs_newlib_basedir)/libm/common into AM_CPPFLAGS forces = automake -# to output a definition for newlib_basedir. -AM_CPPFLAGS =3D -I $(abs_newlib_basedir)/libm/common $(NEWLIB_CFLAGS) $(TA= RGET_CFLAGS) +AM_CPPFLAGS =3D $(NEWLIB_CFLAGS) $(TARGET_CFLAGS) AM_CCASFLAGS =3D $(AM_CPPFLAGS) noinst_LIBRARIES =3D lib.a lib_a_SOURCES =3D setjmp.S