diff options
Diffstat (limited to 'meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0011-purgatory-Makefile-adapt-to-klcc.patch')
| -rw-r--r-- | meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0011-purgatory-Makefile-adapt-to-klcc.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0011-purgatory-Makefile-adapt-to-klcc.patch b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0011-purgatory-Makefile-adapt-to-klcc.patch index 07fa841ccc..c591923c2d 100644 --- a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0011-purgatory-Makefile-adapt-to-klcc.patch +++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0011-purgatory-Makefile-adapt-to-klcc.patch | |||
| @@ -12,16 +12,16 @@ Signed-off-by: Andrea Adami <andrea.adami@gmail.com> | |||
| 12 | 12 | ||
| 13 | --- a/purgatory/Makefile | 13 | --- a/purgatory/Makefile |
| 14 | +++ b/purgatory/Makefile | 14 | +++ b/purgatory/Makefile |
| 15 | @@ -47,7 +47,7 @@ purgatory/sha256.o: $(srcdir)/util_lib/s | 15 | @@ -49,7 +49,7 @@ purgatory/sha256.o: $(srcdir)/util_lib/s |
| 16 | $(PURGATORY): CC=$(TARGET_CC) | 16 | $(PURGATORY): CC=$(TARGET_CC) |
| 17 | $(PURGATORY): CFLAGS+=$(PURGATORY_EXTRA_CFLAGS) \ | 17 | $(PURGATORY): CFLAGS=$(PURGATORY_EXTRA_CFLAGS) \ |
| 18 | $($(ARCH)_PURGATORY_EXTRA_CFLAGS) \ | 18 | $($(ARCH)_PURGATORY_EXTRA_CFLAGS) \ |
| 19 | - -Os -fno-builtin -ffreestanding \ | 19 | - -Os -fno-builtin -ffreestanding \ |
| 20 | + -Os -fno-builtin -ffreestanding -nostdinc \ | 20 | + -Os -fno-builtin -ffreestanding -nostdinc \ |
| 21 | -fno-zero-initialized-in-bss \ | 21 | -fno-zero-initialized-in-bss \ |
| 22 | -fno-PIC -fno-PIE -fno-stack-protector | 22 | -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize |
| 23 | 23 | ||
| 24 | @@ -59,8 +59,8 @@ $(PURGATORY): CPPFLAGS=$($(ARCH)_PURGATO | 24 | @@ -61,8 +61,8 @@ $(PURGATORY): CPPFLAGS=$($(ARCH)_PURGATO |
| 25 | -Iinclude \ | 25 | -Iinclude \ |
| 26 | -I$(shell $(CC) -print-file-name=include) | 26 | -I$(shell $(CC) -print-file-name=include) |
| 27 | $(PURGATORY): LDFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS)\ | 27 | $(PURGATORY): LDFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS)\ |
