projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
toolchain/gcc: pass proper flags for arm hard float build
[openwrt/staging/mkresin.git]
/
toolchain
/
gcc
/
common.mk
diff --git
a/toolchain/gcc/common.mk
b/toolchain/gcc/common.mk
index 5dfbc488cd46d66ff1c8f9800c61f36be6645812..e8ca778e6e27e1632ef24273502a73960a41a562 100644
(file)
--- a/
toolchain/gcc/common.mk
+++ b/
toolchain/gcc/common.mk
@@
-162,6
+162,13
@@
ifneq ($(GCC_ARCH),)
GCC_CONFIGURE+= --with-arch=$(GCC_ARCH)
endif
+ifneq ($(CONFIG_SOFT_FLOAT),y)
+ ifeq ($(CONFIG_arm),y)
+ GCC_CONFIGURE+= \
+ --with-float=hard
+ endif
+endif
+
GCC_MAKE:= \
export SHELL="$(BASH)"; \
$(MAKE) \