Re: Don't override all other CFLAGS_FOR_TARGET when optimizing libraries for space

2014-11-18 Thread Jeff Law
On 11/17/14 03:16, Bob Dunlop wrote: Hi, This patch prevents optimizing libraries for space from overriding all previous CFLAGS_FOR_TARGET settings. Add optimization flags to any pre-existing values. I hit this problem whilst building a Gcc cross compiler and newlib library for ARM with crosst

Don't override all other CFLAGS_FOR_TARGET when optimizing libraries for space

2014-11-17 Thread Bob Dunlop
Hi, This patch prevents optimizing libraries for space from overriding all previous CFLAGS_FOR_TARGET settings. Add optimization flags to any pre-existing values. I hit this problem whilst building a Gcc cross compiler and newlib library for ARM with crosstool-NG-1.20.0. The newlib developers s