From 2240e7a5b14431f3ea7f3f092f29a9ec4cbf6212 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 7 Mar 2014 15:37:26 +0100 Subject: reduce build time, approx. 13 minutes on x86_64 buildsystem, from musl-cross --- toolchain/gcc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'toolchain/gcc/Makefile') diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 138e3a0d0..26fffd728 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -135,6 +135,8 @@ ifeq ($(ADK_LINUX_SH),y) endif sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' $(WRKBUILD)/gcc/configure cd $(GCC_BUILD_DIR_MINIMAL); PATH='$(TARGET_PATH)' \ + CFLAGS="-O0 -g0" \ + CXXFLAGS="-O0 -g0" \ $(WRKBUILD)/configure \ ${GCC_CONFOPTS} \ --enable-languages=c \ @@ -153,6 +155,8 @@ $(WRKBUILD)/.headers: $(GCC_BUILD_DIR_MINIMAL)/.compiled $(GCC_BUILD_DIR_INITIAL)/.configured: mkdir -p $(GCC_BUILD_DIR_INITIAL) cd $(GCC_BUILD_DIR_INITIAL); PATH='$(TARGET_PATH)' \ + CFLAGS="-O0 -g0" \ + CXXFLAGS="-O0 -g0" \ $(WRKBUILD)/configure \ ${GCC_CONFOPTS} \ --enable-languages=c \ -- cgit v1.2.3