freebsd-ports/textproc/opensched/files/patch-af
Kris Kennaway 3065608291 Respect CC and CFLAGS, and fix a bug involving use of uninitialized
memory after malloc (causes coredump on -current)
2002-10-19 22:29:07 +00:00

11 lines
204 B
Text

--- src/Makefile.orig Tue Oct 26 01:41:45 1999
+++ src/Makefile Sat Oct 19 15:13:56 2002
@@ -1,6 +1,6 @@
-CFLAGS=-Wall -g
+CFLAGS+=-Wall -g
LIBS=-lm
-CC=gcc
+CC?=cc
CDEPEND = $(CC) -M
CDEPENDFLAGS =