From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id DA905385840A for ; Mon, 14 Feb 2022 06:01:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DA905385840A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Received: by smtp.gentoo.org (Postfix, from userid 559) id 7F29E34328A; Mon, 14 Feb 2022 06:01:26 +0000 (UTC) From: Mike Frysinger To: newlib@sourceware.org Subject: [PATCH] newlib: i386/xstormy16: drop unused -I libm/common flag Date: Mon, 14 Feb 2022 01:01:29 -0500 Message-Id: <20220214060129.19718-1-vapier@gentoo.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.6 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2022 06:01:28 -0000 These subdirs don't actually use anything from libm. The common dir in particular only has 4 header files, and none are included here. 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. --- 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/i386/Makefile.am index 28525ae5790b..fa1bec6ef45b 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 -AM_CPPFLAGS = -I $(abs_newlib_basedir)/libm/common $(NEWLIB_CFLAGS) $(TARGET_CFLAGS) +AM_CPPFLAGS = $(NEWLIB_CFLAGS) $(TARGET_CFLAGS) AM_CCASFLAGS = $(AM_CPPFLAGS) diff --git a/newlib/libc/machine/xstormy16/Makefile.am b/newlib/libc/machine/xstormy16/Makefile.am index 877c59bf615a..faaac89413ed 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 -# hack: putting $(abs_newlib_basedir)/libm/common into AM_CPPFLAGS forces automake -# to output a definition for newlib_basedir. -AM_CPPFLAGS = -I $(abs_newlib_basedir)/libm/common $(NEWLIB_CFLAGS) $(TARGET_CFLAGS) +AM_CPPFLAGS = $(NEWLIB_CFLAGS) $(TARGET_CFLAGS) AM_CCASFLAGS = $(AM_CPPFLAGS) -- 2.34.1