From 95444b27abfb723db6c66c08dc6c12c7e1128e2e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 17 Sep 2017 12:24:34 +0200 Subject: remove -fhonour-copts usage This reuires a external gcc patch, which I no longer add to newer gcc. A lot of packages already need to disable the usage of -fhonour-copts, because it doesn't work without patching. May be we need something like Buildroot is using, a gcc wrapper to see poisened include or library paths while cross-compiling. --- target/config/Config.in.adk | 6 ------ target/config/Config.in.compiler | 8 -------- 2 files changed, 14 deletions(-) (limited to 'target/config') diff --git a/target/config/Config.in.adk b/target/config/Config.in.adk index 32b669c48..6d4b47ea3 100644 --- a/target/config/Config.in.adk +++ b/target/config/Config.in.adk @@ -31,12 +31,6 @@ config ADK_BUILD_WITH_DEBUG If you want to create debug packages, you should enable this option. WARNING: It will use a lot of additional disk space on you build system! -config ADK_DISABLE_HONOUR_CFLAGS - bool "Disable honour CFLAGS checks globally" - default n - help - Disable honour CFLAGS checks. - config ADK_DISABLE_CHECKSUM bool "Disable checksum check for downloads globally" default n diff --git a/target/config/Config.in.compiler b/target/config/Config.in.compiler index 21bc95839..3d756aa0d 100644 --- a/target/config/Config.in.compiler +++ b/target/config/Config.in.compiler @@ -35,7 +35,6 @@ config ADK_TOOLCHAIN_GCC_GIT depends on !ADK_TARGET_ARCH_NDS32 depends on !ADK_TARGET_ARCH_OR1K depends on !ADK_TARGET_CPU_SH_J2 - select ADK_DISABLE_HONOUR_CFLAGS config ADK_TOOLCHAIN_GCC_7 bool "7.2.0" @@ -45,12 +44,10 @@ config ADK_TOOLCHAIN_GCC_7 depends on !ADK_TARGET_ARCH_NDS32 depends on !ADK_TARGET_ARCH_OR1K depends on !ADK_TARGET_CPU_SH_J2 - select ADK_DISABLE_HONOUR_CFLAGS config ADK_TOOLCHAIN_GCC_6 bool "6.3.0" depends on ADK_TARGET_CPU_SH_J2 - select ADK_DISABLE_HONOUR_CFLAGS config ADK_TOOLCHAIN_GCC_4_9 bool "4.9.4" @@ -59,22 +56,18 @@ config ADK_TOOLCHAIN_GCC_4_9 config ADK_TOOLCHAIN_GCC_CSKY bool "csky" - select ADK_DISABLE_HONOUR_CFLAGS depends on ADK_TARGET_ARCH_CSKY config ADK_TOOLCHAIN_GCC_OR1K bool "or1k" - select ADK_DISABLE_HONOUR_CFLAGS depends on ADK_TARGET_ARCH_OR1K config ADK_TOOLCHAIN_GCC_NDS32 bool "4.9.3-nds32" - select ADK_DISABLE_HONOUR_CFLAGS depends on ADK_TARGET_ARCH_NDS32 config ADK_TOOLCHAIN_GCC_ARC bool "arc-2016.09-release" - select ADK_DISABLE_HONOUR_CFLAGS depends on ADK_TARGET_ARCH_ARC config ADK_TOOLCHAIN_GCC_4_4 @@ -83,7 +76,6 @@ config ADK_TOOLCHAIN_GCC_4_4 config ADK_TOOLCHAIN_GCC_4_2 bool "4.2.4" - select ADK_DISABLE_HONOUR_CFLAGS select ADK_TOOLCHAIN_GCC_OLD depends on ADK_TARGET_ARCH_METAG -- cgit v1.2.3