summaryrefslogtreecommitdiff
path: root/util/crossgcc/patches
diff options
context:
space:
mode:
Diffstat (limited to 'util/crossgcc/patches')
-rw-r--r--util/crossgcc/patches/acpica-unix-20120420_unknown_warnings.patch23
-rw-r--r--util/crossgcc/patches/acpica-unix-20121114_32bit_optimization_fortify_source.patch11
2 files changed, 11 insertions, 23 deletions
diff --git a/util/crossgcc/patches/acpica-unix-20120420_unknown_warnings.patch b/util/crossgcc/patches/acpica-unix-20120420_unknown_warnings.patch
deleted file mode 100644
index c027f175e5..0000000000
--- a/util/crossgcc/patches/acpica-unix-20120420_unknown_warnings.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- acpica-unix-20120420/source/compiler/Makefile 2012-04-20 22:02:33.000000000 +0200
-+++ acpica-unix-20120420.patched/source/compiler/Makefile 2012-10-21 00:30:38.634470788 +0200
-@@ -257,19 +257,11 @@
- # gcc 4+ flags
- #
- CWARNINGFLAGS += \
-- -Waddress \
- -Waggregate-return \
- -Wchar-subscripts \
-- -Wempty-body \
-- -Wlogical-op \
- -Wmissing-declarations \
-- -Wmissing-field-initializers \
-- -Wmissing-parameter-type \
- -Wnested-externs \
-- -Wold-style-declaration \
-- -Wold-style-definition \
-- -Wredundant-decls \
-- -Wtype-limits
-+ -Wold-style-definition
-
- #
- # Bison/Flex configuration
diff --git a/util/crossgcc/patches/acpica-unix-20121114_32bit_optimization_fortify_source.patch b/util/crossgcc/patches/acpica-unix-20121114_32bit_optimization_fortify_source.patch
new file mode 100644
index 0000000000..abf80bd35c
--- /dev/null
+++ b/util/crossgcc/patches/acpica-unix-20121114_32bit_optimization_fortify_source.patch
@@ -0,0 +1,11 @@
+diff -ur acpica-unix-20121114/generate/unix/Makefile.config acpica-unix-20121114.patched/generate/unix/Makefile.config
+--- acpica-unix-20121114/generate/unix/Makefile.config 2012-11-14 17:22:38.000000000 +0100
++++ acpica-unix-20121114.patched/generate/unix/Makefile.config 2012-11-15 21:19:36.683902859 +0100
+@@ -104,6 +104,7 @@
+ # automatically included in -Wall.
+ #
+ CFLAGS += \
++ -O \
+ $(BITSFLAG) \
+ -D$(HOST) \
+ -D_GNU_SOURCE \