summaryrefslogtreecommitdiff
path: root/system/memtest86+/patches/memtest86+-5.01-hardcoded_cc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/memtest86+/patches/memtest86+-5.01-hardcoded_cc.patch')
-rw-r--r--system/memtest86+/patches/memtest86+-5.01-hardcoded_cc.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/system/memtest86+/patches/memtest86+-5.01-hardcoded_cc.patch b/system/memtest86+/patches/memtest86+-5.01-hardcoded_cc.patch
new file mode 100644
index 0000000000..21b51c5b7f
--- /dev/null
+++ b/system/memtest86+/patches/memtest86+-5.01-hardcoded_cc.patch
@@ -0,0 +1,16 @@
+--- a/Makefile.orig 2015-02-01 01:08:33.000000000 +0300
++++ b/Makefile 2015-02-01 01:10:17.624757244 +0300
+@@ -9,11 +9,10 @@
+ #
+ FDISK=/dev/fd0
+
+-AS=as -32
+-CC=gcc
+-
+ CFLAGS= -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin \
+ -ffreestanding -fPIC $(SMP_FL) -fno-stack-protector
++CPPFLAGS= -m32
++ASFLAGS= -32
+
+ 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 \