1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/security/john/files/patch-Makefile
Pav Lucistnik 5a16dbc0bd - Update to 1.6.37
PR:		ports/65623
Submitted by:	Dominic Marks <dom@helenmarks.co.uk> (maintainer)
2004-04-18 17:21:06 +00:00

28 lines
486 B
Plaintext

--- Makefile Sun Nov 30 02:02:25 2003
+++ Makefile Wed Apr 14 15:34:42 2004
@@ -3,10 +3,10 @@
# Copyright (c) 1996-2003 by Solar Designer
#
-CPP = gcc
-CC = gcc
-AS = gcc
-LD = gcc
+CC ?= gcc
+CPP = $(CC)
+AS = $(CC)
+LD = $(CC)
CP = cp
LN = ln -sf
RM = rm -f
@@ -14,7 +14,8 @@
SED = sed
NULL = /dev/null
CPPFLAGS = -E
-CFLAGS = -c -Wall -O2 -fomit-frame-pointer
+CFLAGS ?= -O2
+CFLAGS += -c -Wall -fomit-frame-pointer
ASFLAGS = -c
LDFLAGS = -s
OPT_NORMAL = -funroll-loops