summaryrefslogtreecommitdiff
path: root/app-crypt/rotix/files/0.83-respect-CFLAGS-and-dont-strip.patch
blob: ab23372e768fe3b91e25a79f4582ca694120adab (plain)
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
Index: rotix-0.83/Makefile
===================================================================
--- rotix-0.83.orig/Makefile
+++ rotix-0.83/Makefile
@@ -22,12 +22,6 @@
 
 include Makefile.settings
 
-ifdef DEBUG
-CFLAGS += -g3
-else
-CFLAGS += -O3
-endif
-
 ifdef I18N
 CFLAGS += -DPACKAGE=\"${PACKAGE}\" -D LOCALEDIR=\"${LOCALE}\"
 endif
@@ -39,12 +33,7 @@ endif
 all : rotix po
 
 rotix : rot.o help.o rotix.o
-	$(CC) -Wall $(CFLAGS) -o rotix rot.o help.o rotix.o
-ifdef STRIP
-ifndef DEBUG
-	$(STRIP) rotix
-endif
-endif
+	$(CC) -Wall $(CFLAGS) $(LDFLAGS) -o rotix rot.o help.o rotix.o
 
 ifdef I18N
 CFLAGS += -D I18N=1