summaryrefslogtreecommitdiff
path: root/toolchain/glibc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-27 00:42:52 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-27 00:42:52 +0100
commit45805efcda653a3e6d7577ac2956c8138b49c7fc (patch)
treea50338de17db8c774aa1484060bcd351444c1598 /toolchain/glibc/Makefile
parent24da0950d119ed4f0b1bbeb90a9dc58752b1a001 (diff)
fix build of glibc toolchains
Diffstat (limited to 'toolchain/glibc/Makefile')
-rw-r--r--toolchain/glibc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile
index 47a7b9d6b..3d945a29c 100644
--- a/toolchain/glibc/Makefile
+++ b/toolchain/glibc/Makefile
@@ -3,8 +3,6 @@
include $(TOPDIR)/rules.mk
include ../rules.mk
-include Makefile.inc
-include ${TOPDIR}/mk/buildhlp.mk
# glibc does not compile with Os
TARGET_CFLAGS:=$(subst Os,O2,$(TARGET_CFLAGS))
@@ -12,6 +10,9 @@ ifneq ($(ADK_DEBUG),)
TARGET_CFLAGS+=-O2
endif
+include Makefile.inc
+include ${TOPDIR}/mk/buildhlp.mk
+
ifeq ($(ADK_TARGET_NO_FPU),y)
GLIBC_CONFOPTS+= --without-fp
endif