This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See crosstool-NG for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, I've been having problems passing CFLAGS_FOR_TARGET to newlib-2.0 and 2.1 builds. Basically selecting optimising for space was overriding any other flags. This patch placed in crosstool-ng-1.20.0/patches/newlib/2.0.0/ and 2.1.0/ prevents the override, appending the space optimising flags to any existing settings. Tested compiling newlib-2.0.0 for ARM with crosstool-NG-1.20.0 and GNU Make 3.82. This is basically a bug in newlibs configuration code not crosstool-NG and I have reported this on their mailing list as well. -- Bob Dunlop
--- 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
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |