This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/2222] option enable-target-optspace disables _GNU_SOURCE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2222

Oliver Metz <oliver.metz at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oliver.metz at gmx dot de

--- Comment #6 from Oliver Metz <oliver.metz at gmx dot de> 2011-06-03 09:32:44 UTC ---
Thanks Ian for your help.

This bug is still valid for gcc-4.6.0.

When --enable-target-optspace is set config/mt-ospace is included and
overwrites the configured CFLAGS_FOR_TARGET variable. 

config/mt-ospace:
# Build libraries optimizing for space, not speed.
 CFLAGS_FOR_TARGET = -g -Os
 CXXFLAGS_FOR_TARGET = -g -Os

So it's not possible to optimize the target libs for the target (e.g.
-march=4kc -msoft-float).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]