diff options
Diffstat (limited to 'meta/recipes-kernel/dtc/dtc')
-rw-r--r-- | meta/recipes-kernel/dtc/dtc/remove_space_opt.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-kernel/dtc/dtc/remove_space_opt.patch b/meta/recipes-kernel/dtc/dtc/remove_space_opt.patch new file mode 100644 index 0000000000..805bf58796 --- /dev/null +++ b/meta/recipes-kernel/dtc/dtc/remove_space_opt.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | Remove the -Os flag | ||
2 | |||
3 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
4 | Index: git/Makefile | ||
5 | =================================================================== | ||
6 | --- git.orig/Makefile | ||
7 | +++ git/Makefile | ||
8 | @@ -18,7 +18,7 @@ CONFIG_LOCALVERSION = | ||
9 | CPPFLAGS = -I libfdt | ||
10 | WARNINGS = -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \ | ||
11 | -Wstrict-prototypes -Wmissing-prototypes | ||
12 | -CFLAGS = -g -Os -fPIC -Werror $(WARNINGS) | ||
13 | +CFLAGS = -g -fPIC -Werror $(WARNINGS) | ||
14 | |||
15 | BISON = bison | ||
16 | LEX = flex | ||