Changeset 27245


Ignore:
Timestamp:
2011-06-20T13:12:46+02:00 (7 years ago)
Author:
mirko
Message:

Revert "[toolchain/eglibc} eglibc in fact can be built with -Os"

Compiling with -Os results in: "error: #error "glibc cannot be compiled without optimization"

Still, building with -Os is listed as feature in
<http://www.eglibc.org/features>:

""
Building with -Os

EGLIBC supports building the library with compiler optimizing for size -Os instead of for speed -O2.

""

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/toolchain/eglibc/Makefile

    r27220 r27245  
    5555HOST_BUILD_DIR1:=$(HOST_BUILD_DIR)-initial 
    5656HOST_BUILD_DIR2:=$(HOST_BUILD_DIR)-final 
     57 
     58# XXX: {e,}glibc does not build w/ -Os 
     59# http://sourceware.org/bugzilla/show_bug.cgi?id=5203 
     60EGLIBC_CFLAGS:=$(subst -Os,-O2,$(TARGET_CFLAGS)) 
    5761 
    5862EGLIBC_CONFIGURE:= \ 
Note: See TracChangeset for help on using the changeset viewer.