john (1.7.8-1) allow-cflags-overriding.diff

Summary

 src/Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

Description: allows CFLAGS/LDFLAGS modification from debian/rules
Author: Ruben Molina <rmolina@udea.edu.co>
Last-Update: 2011-01-21
Forwarded: no

Index: john-1.7.6/src/Makefile
===================================================================
--- john-1.7.6.orig/src/Makefile	2011-01-21 20:24:08.984732206 -0500
+++ john-1.7.6/src/Makefile	2011-01-21 20:24:12.296735324 -0500
@@ -19,9 +19,9 @@
 #OMPFLAGS = -fopenmp
 # Sun Studio with OpenMP (set the OMP_NUM_THREADS env var at runtime)
 #OMPFLAGS = -xopenmp
-CFLAGS = -c -Wall -O2 -fomit-frame-pointer $(OMPFLAGS)
+CFLAGS += -c -Wall -O2 -fomit-frame-pointer $(OMPFLAGS)
 ASFLAGS = -c $(OMPFLAGS)
-LDFLAGS = -s $(OMPFLAGS)
+LDFLAGS += -s $(OMPFLAGS)
 OPT_NORMAL = -funroll-loops
 OPT_INLINE = -finline-functions