projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[toolchain/eglibc} eglibc in fact can be built with -Os
[openwrt.git]
/
toolchain
/
eglibc
/
Makefile
diff --git
a/toolchain/eglibc/Makefile
b/toolchain/eglibc/Makefile
index
f333f9d
..
5d34c95
100644
(file)
--- a/
toolchain/eglibc/Makefile
+++ b/
toolchain/eglibc/Makefile
@@
-52,10
+52,6
@@
HOST_STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.eglibc_installed
HOST_BUILD_DIR1:=$(HOST_BUILD_DIR)-initial
HOST_BUILD_DIR2:=$(HOST_BUILD_DIR)-final
HOST_BUILD_DIR1:=$(HOST_BUILD_DIR)-initial
HOST_BUILD_DIR2:=$(HOST_BUILD_DIR)-final
-# XXX: {e,}glibc does not build w/ -Os
-# http://sourceware.org/bugzilla/show_bug.cgi?id=5203
-EGLIBC_CFLAGS:=$(subst -Os,-O2,$(TARGET_CFLAGS))
-
EGLIBC_CONFIGURE:= \
BUILD_CC="$(HOSTCC)" \
$(TARGET_CONFIGURE_OPTS) \
EGLIBC_CONFIGURE:= \
BUILD_CC="$(HOSTCC)" \
$(TARGET_CONFIGURE_OPTS) \
@@
-82,6
+78,7
@@
endif
EGLIBC_MAKE:= \
$(MAKE) \
EGLIBC_MAKE:= \
$(MAKE) \
+export libc_cv_ssp=no
define Host/SetToolchainInfo
$(SED) 's,^\(LIBC_TYPE\)=.*,\1=$(PKG_NAME),' $(TOOLCHAIN_DIR)/info.mk
define Host/SetToolchainInfo
$(SED) 's,^\(LIBC_TYPE\)=.*,\1=$(PKG_NAME),' $(TOOLCHAIN_DIR)/info.mk
This page took
0.019387 seconds
and
4
git commands to generate.