- memtest86+-gcc5.patch: Use -fgnu89-inline, fix build with GCC5, code relies on old inline semantics. OBS-URL: https://build.opensuse.org/request/show/292543 OBS-URL: https://build.opensuse.org/package/show/Base:System/memtest86+?expand=0&rev=26
12 lines
461 B
Diff
12 lines
461 B
Diff
--- memtest86+-5.01.orig/Makefile
|
|
+++ memtest86+-5.01/Makefile
|
|
@@ -14,7 +14,7 @@ AS=as -32
|
|
CC=gcc
|
|
|
|
CFLAGS= -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin \
|
|
- -ffreestanding -fPIC $(SMP_FL) -fno-stack-protector
|
|
+ -ffreestanding -fPIC $(SMP_FL) -fno-stack-protector -fgnu89-inline
|
|
|
|
OBJS= head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o \
|
|
config.o cpuid.o linuxbios.o pci.o memsize.o spd.o error.o dmi.o controller.o \
|