respect CC and CFLAGS

This commit is contained in:
brad 2004-02-07 06:38:12 +00:00
parent d6a79841c3
commit d86923c6fc
2 changed files with 3 additions and 16 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.5 2004/02/06 21:16:02 couderc Exp $
# $OpenBSD: Makefile,v 1.6 2004/02/07 06:38:12 brad Exp $
COMMENT= "Ftp daemon which aims to be secure"
@ -20,6 +20,8 @@ MASTER_SITES= ftp://vsftpd.beasts.org/users/cevans/
ALL_TARGET= vsftpd
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} -Wall -W -Wshadow"
SAMPLEDIR= ${PREFIX}/share/examples/vsftpd
NO_REGRESS= Yes

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-Makefile,v 1.2 2003/08/02 12:00:13 couderc Exp $
--- Makefile.orig Wed Apr 9 01:28:49 2003
+++ Makefile Sun Jun 8 12:34:26 2003
@@ -1,9 +1,9 @@
# Makefile for systems with GNU tools
-CC = gcc
+CC = cc
INSTALL = install
IFLAGS = -idirafter dummyinc
#CFLAGS = -g
-CFLAGS = -O2 -Wall -W -Wshadow #-pedantic -Werror -Wconversion
+CFLAGS += -O2 -Wall -W -Wshadow #-pedantic -Werror -Wconversion
LIBS = `./vsf_findlibs.sh`
LINK = -Wl,-s