projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4497cf8
)
gcc: compile libgcc and libstdc++ with -O2 instead of -Os on power pc to avoid genera...
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 27 Oct 2009 01:11:35 +0000
(
01:11
+0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 27 Oct 2009 01:11:35 +0000
(
01:11
+0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18177
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
toolchain/gcc/Makefile
patch
|
blob
|
history
diff --git
a/toolchain/gcc/Makefile
b/toolchain/gcc/Makefile
index
3b31127
..
77243c5
100644
(file)
--- a/
toolchain/gcc/Makefile
+++ b/
toolchain/gcc/Makefile
@@
-151,6
+151,10
@@
GCC_CONFIGURE_STAGE2:= \
--disable-tls \
--with-slibdir=$(TOOLCHAIN_DIR)/lib \
--disable-tls \
--with-slibdir=$(TOOLCHAIN_DIR)/lib \
+ifdef CONFIG_powerpc
+ TARGET_CFLAGS := $(patsubst -Os,-O2,$(TARGET_CFLAGS))
+endif
+
GCC_MAKE:= \
export SHELL="$(BASH)"; \
$(MAKE) \
GCC_MAKE:= \
export SHELL="$(BASH)"; \
$(MAKE) \
This page took
0.021398 seconds
and
4
git commands to generate.