forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
johntheripper-1.7.6-cflags.patch
83 lines (81 loc) · 2.86 KB
/
johntheripper-1.7.6-cflags.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
--- Makefile 2010-07-18 15:27:51.000000000 -0400
+++ Makefile.mine 2010-07-18 15:30:09.000000000 -0400
@@ -629,7 +629,7 @@
macosx-ppc32-altivec:
$(LN) ppc32alt.h arch.h
$(MAKE) $(PROJ) \
- CFLAGS="-c -Wall -fomit-frame-pointer" \
+ CFLAGS="$(CFLAGS) -c -Wall -fomit-frame-pointer" \
OPT_NORMAL="-fast -mcpu=7450" \
OPT_INLINE="-fast -mcpu=7450 -finline-limit=4000 -faltivec -maltivec"
@@ -638,7 +638,7 @@
$(LN) ppc32alt.h arch.h
$(MAKE) $(PROJ) \
ASFLAGS="$(ASFLAGS) -arch ppc" \
- CFLAGS="-c -Wall -arch ppc -fomit-frame-pointer" \
+ CFLAGS="$(CFLAGS) -c -Wall -arch ppc -fomit-frame-pointer" \
LDFLAGS="$(LDFLAGS) -arch ppc" \
OPT_NORMAL="-fast -mcpu=7450" \
OPT_INLINE="-fast -mcpu=7450 -finline-limit=4000 -faltivec -maltivec"
@@ -650,7 +650,7 @@
$(LN) ppc32.h arch.h
$(MAKE) $(PROJ) \
CC=cc \
- CFLAGS="-c -traditional-cpp" \
+ CFLAGS="$(CFLAGS) -c -traditional-cpp" \
OPT_NORMAL="-O2" \
OPT_INLINE="-O3"
@@ -658,7 +658,7 @@
$(LN) ppc32.h arch.h
$(MAKE) $(PROJ) \
ASFLAGS="$(ASFLAGS) -arch ppc" \
- CFLAGS="-c -Wall -arch ppc -fomit-frame-pointer" \
+ CFLAGS="$(CFLAGS) -c -Wall -arch ppc -fomit-frame-pointer" \
LDFLAGS="$(LDFLAGS) -arch ppc" \
OPT_NORMAL="-O2" \
OPT_INLINE="-O3 -finline-limit=4000"
@@ -667,7 +667,7 @@
macosx-ppc64-altivec:
$(LN) ppc64alt.h arch.h
$(MAKE) $(PROJ) \
- CFLAGS="-c -m64 -Wall -fomit-frame-pointer" \
+ CFLAGS="$(CFLAGS) -c -m64 -Wall -fomit-frame-pointer" \
LDFLAGS="$(LDFLAGS) -m64" \
OPT_NORMAL="-fast" \
OPT_INLINE="-fast -finline-limit=4000 -faltivec -maltivec"
@@ -676,7 +676,7 @@
$(LN) ppc64alt.h arch.h
$(MAKE) $(PROJ) \
ASFLAGS="$(ASFLAGS) -arch ppc" \
- CFLAGS="-c -arch ppc -m64 -Wall -fomit-frame-pointer" \
+ CFLAGS="$(CFLAGS) -c -arch ppc -m64 -Wall -fomit-frame-pointer" \
LDFLAGS="$(LDFLAGS) -arch ppc -m64" \
OPT_NORMAL="-fast" \
OPT_INLINE="-fast -finline-limit=4000 -faltivec -maltivec"
@@ -684,7 +684,7 @@
macosx-ppc64:
$(LN) ppc64.h arch.h
$(MAKE) $(PROJ) \
- CFLAGS="-c -m64 -Wall -fomit-frame-pointer" \
+ CFLAGS="$(CFLAGS) -c -m64 -Wall -fomit-frame-pointer" \
LDFLAGS="$(LDFLAGS) -m64" \
OPT_NORMAL="-fast" \
OPT_INLINE="-fast -finline-limit=4000"
@@ -693,7 +693,7 @@
$(LN) ppc64.h arch.h
$(MAKE) $(PROJ) \
ASFLAGS="$(ASFLAGS) -arch ppc" \
- CFLAGS="-c -arch ppc -m64 -Wall -fomit-frame-pointer" \
+ CFLAGS="$(CFLAGS) -c -arch ppc -m64 -Wall -fomit-frame-pointer" \
LDFLAGS="$(LDFLAGS) -arch ppc -m64" \
OPT_NORMAL="-fast" \
OPT_INLINE="-fast -finline-limit=4000"
@@ -723,7 +723,7 @@
$(LN) ppc32alt.h arch.h
$(MAKE) $(PROJ) \
ASFLAGS="$(ASFLAGS) -arch ppc" \
- CFLAGS="-c -Wall -arch ppc -fomit-frame-pointer" \
+ CFLAGS="$(CFLAGS) -c -Wall -arch ppc -fomit-frame-pointer" \
LDFLAGS="$(LDFLAGS) -arch ppc" \
OPT_NORMAL="-fast -mcpu=7450" \
OPT_INLINE="-fast -mcpu=7450 -finline-limit=4000 -faltivec -maltivec"