Ralf Corsepius <[EMAIL PROTECTED]> writes: > As it seems to me, CFLAGS handling with newlib+gcc-4.0.x one-tree style > cross-builds seems broken. > > So far I have tried different permutations of setting CFLAGS, > CFLAGS_FOR_BUILD, CFLAGS_FOR_HOST and CFLAGS_FOR_TARGET, but have not > been successful so far. > > Therefore - question: How is one supposed to pass custom CFLAGS to the > host-compiled components in GCC without breaking newlib?
Usually by wrapping them in CC: make CC="gcc -foobar" We could introduce CFLAGS_FOR_HOST. The main problem is that we would have to use it practically everywhere. Ian