freebsd-ports/sysutils/memtest86+/files/extra-patch-Makefile
Dmitry Morozovsky 910f5a58af Make it buildable of FreeBSD 6 (precisely, on pre-gcc 4.2 worlds) again by
removing -fno-stack-protector conditionally.

Reported by:	pav (thanks for pointing out to recommended way to apply)
Approved by:	avg (implicit)
2010-10-13 20:35:34 +00:00

14 lines
435 B
Text

$FreeBSD$
--- Makefile.orig
+++ Makefile
@@ -11,7 +11,7 @@
AS=as -32
CC=gcc
-CFLAGS= -Wall -march=i486 -m32 -O2 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector
+CFLAGS= -Wall -march=i486 -m32 -O2 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC
OBJS= head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o \
config.o linuxbios.o memsize.o pci.o controller.o random.o spd.o \