memtest86_/memtest86+-5.01-no-optimization.patch
Dirk Mueller a7827ead44 Accepting request 243156 from home:coolo:branches:openSUSE:Factory
- make it work by picking patches from Fedora - memtest doesn't like
  optimizations with newer compilers.
  See https://bugs.mageia.org/show_bug.cgi?id=11661 and fedora bugs.
- Added patches (all from fedora pkg):
   memtest86+-5.01-array-size-fix.patch
   memtest86+-5.01-compile-fix.patch
   memtest86+-5.01-no-optimization.patch

OBS-URL: https://build.opensuse.org/request/show/243156
OBS-URL: https://build.opensuse.org/package/show/Base:System/memtest86+?expand=0&rev=22
2014-07-31 15:39:20 +00:00

12 lines
446 B
Diff

--- memtest86+-5.01/Makefile~ 2014-01-08 01:30:11.355900076 +0000
+++ memtest86+-5.01/Makefile 2014-01-08 01:31:19.387555469 +0000
@@ -12,7 +12,7 @@
AS=as -32
CC=gcc
-CFLAGS= -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin \
+CFLAGS= -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin \
-ffreestanding -fPIC $(SMP_FL) -fno-stack-protector
OBJS= head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o \