projects
/
openwrt
/
staging
/
lynxis
/
omap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
We use different toolchain directories for different ARM archs, so we should set...
[openwrt/staging/lynxis/omap.git]
/
toolchain
/
gcc
/
common.mk
diff --git
a/toolchain/gcc/common.mk
b/toolchain/gcc/common.mk
index 0f22e4102140e11b109b54d876315fc4fc0f9efc..888cf7a1e5a8e846cc3dd95c2e421d42cb4d6637 100644
(file)
--- a/
toolchain/gcc/common.mk
+++ b/
toolchain/gcc/common.mk
@@
-167,6
+167,10
@@
ifdef CONFIG_powerpc
TARGET_CFLAGS := $(patsubst -Os,-O2,$(TARGET_CFLAGS))
endif
+ifneq ($(GCC_ARCH),)
+ GCC_CONFIGURE+= --with-arch=$(GCC_ARCH)
+endif
+
GCC_MAKE:= \
export SHELL="$(BASH)"; \
$(MAKE) $(TOOLCHAIN_JOBS) \