summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.mk1
-rw-r--r--toolchain/gcc/patches/3.4.6/910-mbsd_multi.patch2
-rw-r--r--toolchain/gcc/patches/4.1.2/910-mbsd_multi.patch2
-rw-r--r--toolchain/gcc/patches/4.2.0/910-mbsd_multi.patch2
-rw-r--r--toolchain/gcc/patches/4.2.1/910-mbsd_multi.patch2
5 files changed, 5 insertions, 4 deletions
diff --git a/rules.mk b/rules.mk
index 7733118..514aa6b 100644
--- a/rules.mk
+++ b/rules.mk
@@ -63,6 +63,7 @@ TARGET_LDFLAGS:=-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib
export PATH:=$(TARGET_PATH)
export STAGING_DIR
+export GCC_HONOUR_COPTS:=0
LINUX_HEADERS_DIR:=$(BUILD_DIR_TOOLCHAIN)/linux
diff --git a/toolchain/gcc/patches/3.4.6/910-mbsd_multi.patch b/toolchain/gcc/patches/3.4.6/910-mbsd_multi.patch
index 282ded1..a1887ca 100644
--- a/toolchain/gcc/patches/3.4.6/910-mbsd_multi.patch
+++ b/toolchain/gcc/patches/3.4.6/910-mbsd_multi.patch
@@ -67,7 +67,7 @@ Index: gcc-3.4.6/gcc/c-opts.c
+ char *ev = getenv ("GCC_HONOUR_COPTS");
+ int evv;
+ if (ev == NULL)
-+ evv = 0;
++ evv = -1;
+ else if ((*ev == '0') || (*ev == '\0'))
+ evv = 0;
+ else if (*ev == '1')
diff --git a/toolchain/gcc/patches/4.1.2/910-mbsd_multi.patch b/toolchain/gcc/patches/4.1.2/910-mbsd_multi.patch
index 5d06f80..7d21842 100644
--- a/toolchain/gcc/patches/4.1.2/910-mbsd_multi.patch
+++ b/toolchain/gcc/patches/4.1.2/910-mbsd_multi.patch
@@ -67,7 +67,7 @@ Index: gcc-4.1.2/gcc/c-opts.c
+ char *ev = getenv ("GCC_HONOUR_COPTS");
+ int evv;
+ if (ev == NULL)
-+ evv = 0;
++ evv = -1;
+ else if ((*ev == '0') || (*ev == '\0'))
+ evv = 0;
+ else if (*ev == '1')
diff --git a/toolchain/gcc/patches/4.2.0/910-mbsd_multi.patch b/toolchain/gcc/patches/4.2.0/910-mbsd_multi.patch
index 439d076..41705cc 100644
--- a/toolchain/gcc/patches/4.2.0/910-mbsd_multi.patch
+++ b/toolchain/gcc/patches/4.2.0/910-mbsd_multi.patch
@@ -67,7 +67,7 @@ Index: gcc-4.2.0/gcc/c-opts.c
+ char *ev = getenv ("GCC_HONOUR_COPTS");
+ int evv;
+ if (ev == NULL)
-+ evv = 0;
++ evv = -1;
+ else if ((*ev == '0') || (*ev == '\0'))
+ evv = 0;
+ else if (*ev == '1')
diff --git a/toolchain/gcc/patches/4.2.1/910-mbsd_multi.patch b/toolchain/gcc/patches/4.2.1/910-mbsd_multi.patch
index 439d076..41705cc 100644
--- a/toolchain/gcc/patches/4.2.1/910-mbsd_multi.patch
+++ b/toolchain/gcc/patches/4.2.1/910-mbsd_multi.patch
@@ -67,7 +67,7 @@ Index: gcc-4.2.0/gcc/c-opts.c
+ char *ev = getenv ("GCC_HONOUR_COPTS");
+ int evv;
+ if (ev == NULL)
-+ evv = 0;
++ evv = -1;
+ else if ((*ev == '0') || (*ev == '\0'))
+ evv = 0;
+ else if (*ev == '1')