mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 04:26:16 +02:00
changed the -fhonours-copts gcc patch, such that the function needs to be turned on explicitly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9167 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1d6c40bd4d
commit
a5d5856756
1
rules.mk
1
rules.mk
@ -63,6 +63,7 @@ TARGET_LDFLAGS:=-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib
|
|||||||
|
|
||||||
export PATH:=$(TARGET_PATH)
|
export PATH:=$(TARGET_PATH)
|
||||||
export STAGING_DIR
|
export STAGING_DIR
|
||||||
|
export GCC_HONOUR_COPTS:=0
|
||||||
|
|
||||||
LINUX_HEADERS_DIR:=$(BUILD_DIR_TOOLCHAIN)/linux
|
LINUX_HEADERS_DIR:=$(BUILD_DIR_TOOLCHAIN)/linux
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ Index: gcc-3.4.6/gcc/c-opts.c
|
|||||||
+ char *ev = getenv ("GCC_HONOUR_COPTS");
|
+ char *ev = getenv ("GCC_HONOUR_COPTS");
|
||||||
+ int evv;
|
+ int evv;
|
||||||
+ if (ev == NULL)
|
+ if (ev == NULL)
|
||||||
+ evv = 0;
|
+ evv = -1;
|
||||||
+ else if ((*ev == '0') || (*ev == '\0'))
|
+ else if ((*ev == '0') || (*ev == '\0'))
|
||||||
+ evv = 0;
|
+ evv = 0;
|
||||||
+ else if (*ev == '1')
|
+ else if (*ev == '1')
|
||||||
|
@ -67,7 +67,7 @@ Index: gcc-4.1.2/gcc/c-opts.c
|
|||||||
+ char *ev = getenv ("GCC_HONOUR_COPTS");
|
+ char *ev = getenv ("GCC_HONOUR_COPTS");
|
||||||
+ int evv;
|
+ int evv;
|
||||||
+ if (ev == NULL)
|
+ if (ev == NULL)
|
||||||
+ evv = 0;
|
+ evv = -1;
|
||||||
+ else if ((*ev == '0') || (*ev == '\0'))
|
+ else if ((*ev == '0') || (*ev == '\0'))
|
||||||
+ evv = 0;
|
+ evv = 0;
|
||||||
+ else if (*ev == '1')
|
+ else if (*ev == '1')
|
||||||
|
@ -67,7 +67,7 @@ Index: gcc-4.2.0/gcc/c-opts.c
|
|||||||
+ char *ev = getenv ("GCC_HONOUR_COPTS");
|
+ char *ev = getenv ("GCC_HONOUR_COPTS");
|
||||||
+ int evv;
|
+ int evv;
|
||||||
+ if (ev == NULL)
|
+ if (ev == NULL)
|
||||||
+ evv = 0;
|
+ evv = -1;
|
||||||
+ else if ((*ev == '0') || (*ev == '\0'))
|
+ else if ((*ev == '0') || (*ev == '\0'))
|
||||||
+ evv = 0;
|
+ evv = 0;
|
||||||
+ else if (*ev == '1')
|
+ else if (*ev == '1')
|
||||||
|
@ -67,7 +67,7 @@ Index: gcc-4.2.0/gcc/c-opts.c
|
|||||||
+ char *ev = getenv ("GCC_HONOUR_COPTS");
|
+ char *ev = getenv ("GCC_HONOUR_COPTS");
|
||||||
+ int evv;
|
+ int evv;
|
||||||
+ if (ev == NULL)
|
+ if (ev == NULL)
|
||||||
+ evv = 0;
|
+ evv = -1;
|
||||||
+ else if ((*ev == '0') || (*ev == '\0'))
|
+ else if ((*ev == '0') || (*ev == '\0'))
|
||||||
+ evv = 0;
|
+ evv = 0;
|
||||||
+ else if (*ev == '1')
|
+ else if (*ev == '1')
|
||||||
|
Loading…
Reference in New Issue
Block a user