From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24624 invoked by alias); 9 Dec 2014 15:05:44 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 24608 invoked by uid 89); 9 Dec 2014 15:05:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: b.painless.aa.net.uk Received: from b.painless.aa.net.uk (HELO b.painless.aa.net.uk) (81.187.30.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 09 Dec 2014 15:05:32 +0000 Received: from home.pinkhut.co.uk ([81.187.28.34]) by b.painless.aa.net.uk with esmtp (Exim 4.77) (envelope-from ) id 1XyMLw-0005O7-9b; Tue, 09 Dec 2014 15:05:28 +0000 Received: by home.pinkhut.co.uk (Postfix, from userid 1000) id DB4592C7477; Tue, 9 Dec 2014 15:05:27 +0000 (GMT) From: Bob Dunlop To: bryanhundven@gmail.com Cc: crossgcc@sourceware.org, Bob Dunlop Subject: [PATCH] Patch newlib-2.xx optimising for space Append flags to CFLAGS_FOR_TARGET rather than replacing. Date: Tue, 09 Dec 2014 15:05:00 -0000 Message-Id: <1418137501-20748-1-git-send-email-bob.dunlop@xyzzy.org.uk> In-Reply-To: References: X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00046.txt.bz2 --- patches/newlib/2.0.0/100-fix-optimising-for-space.patch | 8 ++++++++ patches/newlib/2.1.0/100-fix-optimising-for-space.patch | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 patches/newlib/2.0.0/100-fix-optimising-for-space.patch create mode 100644 patches/newlib/2.1.0/100-fix-optimising-for-space.patch diff --git a/patches/newlib/2.0.0/100-fix-optimising-for-space.patch b/patches/newlib/2.0.0/100-fix-optimising-for-space.patch new file mode 100644 index 0000000..8480f92 --- /dev/null +++ b/patches/newlib/2.0.0/100-fix-optimising-for-space.patch @@ -0,0 +1,8 @@ +--- newlib-2.0.0/config/mt-ospace-orig 2014-11-13 12:02:45.463578281 +0000 ++++ newlib-2.0.0/config/mt-ospace 2014-11-13 12:03:01.409592374 +0000 +@@ -1,3 +1,3 @@ + # Build libraries optimizing for space, not speed. +- CFLAGS_FOR_TARGET = -g -Os +- CXXFLAGS_FOR_TARGET = -g -Os ++ CFLAGS_FOR_TARGET += -g -Os ++ CXXFLAGS_FOR_TARGET += -g -Os diff --git a/patches/newlib/2.1.0/100-fix-optimising-for-space.patch b/patches/newlib/2.1.0/100-fix-optimising-for-space.patch new file mode 100644 index 0000000..0e94d50 --- /dev/null +++ b/patches/newlib/2.1.0/100-fix-optimising-for-space.patch @@ -0,0 +1,8 @@ +--- newlib-2.1.0/config/mt-ospace-orig 2014-11-13 12:02:45.463578281 +0000 ++++ newlib-2.1.0/config/mt-ospace 2014-11-13 12:03:01.409592374 +0000 +@@ -1,3 +1,3 @@ + # Build libraries optimizing for space, not speed. +- CFLAGS_FOR_TARGET = -g -Os +- CXXFLAGS_FOR_TARGET = -g -Os ++ CFLAGS_FOR_TARGET += -g -Os ++ CXXFLAGS_FOR_TARGET += -g -Os -- 2.0.4 -- For unsubscribe information see http://sourceware.org/lists.html#faq