mirror of https://github.com/hak5/openwrt-owl.git
changed the -fhonours-copts gcc patch, such that the function needs to be turned on explicitly
SVN-Revision: 9167owl
parent
4af66e8866
commit
cfd0fecd47
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 STAGING_DIR
|
||||
export GCC_HONOUR_COPTS:=0
|
||||
|
||||
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");
|
||||
+ int evv;
|
||||
+ if (ev == NULL)
|
||||
+ evv = 0;
|
||||
+ evv = -1;
|
||||
+ else if ((*ev == '0') || (*ev == '\0'))
|
||||
+ evv = 0;
|
||||
+ else if (*ev == '1')
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue