aboutsummaryrefslogtreecommitdiffstats
path: root/security/john/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/john/files/patch-Makefile')
-rw-r--r--security/john/files/patch-Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/security/john/files/patch-Makefile b/security/john/files/patch-Makefile
new file mode 100644
index 00000000000..e525c3cdc36
--- /dev/null
+++ b/security/john/files/patch-Makefile
@@ -0,0 +1,27 @@
+--- Makefile Wed Apr 10 14:35:25 2002
++++ Makefile Wed Jan 15 23:28:44 2003
+@@ -3,10 +3,10 @@
+ # Copyright (c) 1996-2002 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