summaryrefslogtreecommitdiff
path: root/system/memtest86+/patches/memtest86+-5.01-hardcoded_cc.patch
blob: 21b51c5b7fff0c307bb9043c166e88eab09eae34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 \