diff options
Diffstat (limited to 'meta/recipes-devtools/syslinux/syslinux/0011-mk-MMD-does-not-take-any-arguments.patch')
-rw-r--r-- | meta/recipes-devtools/syslinux/syslinux/0011-mk-MMD-does-not-take-any-arguments.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-devtools/syslinux/syslinux/0011-mk-MMD-does-not-take-any-arguments.patch b/meta/recipes-devtools/syslinux/syslinux/0011-mk-MMD-does-not-take-any-arguments.patch new file mode 100644 index 0000000000..443c1ccc58 --- /dev/null +++ b/meta/recipes-devtools/syslinux/syslinux/0011-mk-MMD-does-not-take-any-arguments.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 0f3d83c25491951f1fa84c7957358ef3d1bcd8a9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 9 Sep 2015 17:39:22 +0000 | ||
4 | Subject: [PATCH] mk: -MMD does not take any arguments | ||
5 | |||
6 | Specify -Wp for each option, clang seems to not accept | ||
7 | -Wp,-x,y,-a,b | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | Upstream-Status: Pending | ||
12 | |||
13 | mk/syslinux.mk | 4 ++-- | ||
14 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | Index: syslinux-6.03/mk/syslinux.mk | ||
17 | =================================================================== | ||
18 | --- syslinux-6.03.orig/mk/syslinux.mk | ||
19 | +++ syslinux-6.03/mk/syslinux.mk | ||
20 | @@ -82,11 +82,11 @@ ARCH ?= $(strip $(SUBARCH)) | ||
21 | GCCWARN = -W -Wall -Wstrict-prototypes $(DEBUGOPT) | ||
22 | |||
23 | # Common stanza to make gcc generate .*.d dependency files | ||
24 | -MAKEDEPS = -Wp,-MT,$@,-MD,$(dir $@).$(notdir $@).d | ||
25 | +MAKEDEPS = -MT $@ -MD | ||
26 | |||
27 | # Dependencies that exclude system headers; use whenever we use | ||
28 | # header files from the platform. | ||
29 | -UMAKEDEPS = -Wp,-MT,$@,-MMD,$(dir $@).$(notdir $@).d | ||
30 | +UMAKEDEPS = -MT $@ -MMD | ||
31 | |||
32 | # Items that are only appropriate during development; this file is | ||
33 | # removed when tarballs are generated. | ||