forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rrs-1.70-asneeded.patch
38 lines (31 loc) · 1.4 KB
/
rrs-1.70-asneeded.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
--- Makefile.orig 2004-05-30 02:14:14.000000000 +0200
+++ Makefile 2009-01-03 15:02:19.253460887 +0100
@@ -8,8 +8,8 @@
# if your system doesn't have GNU's getopt_long(), add -DWITHOUT_GNU_GETOPT
CFLAGS=-I/usr/local/include -Wall -O2
# openpty() is in libutil on most Unix-like operating systems
-LDFLAGS=-L/usr/local/lib -s -lstdc++ -lm -lutil -lssl -lcrypto
-LDFLAGSNOSSL=-s -lstdc++ -lm -lutil
+LDFLAGS=-L/usr/local/lib -lstdc++ -lm -lutil -lssl -lcrypto
+LDFLAGSNOSSL=-lstdc++ -lm -lutil
PREFIX=/usr/local
BINDIR=bin
@@ -36,9 +36,9 @@
generic-nossl: clean compile-generic-nossl
qnx: clean
- $(MAKE) LDFLAGS="-L/usr/local/lib -s -lsocket -lssl -lcrypto" compile-qnx
+ $(MAKE) LDFLAGS="-L/usr/local/lib -lsocket -lssl -lcrypto" compile-qnx
qnx-nossl: clean
- $(MAKE) LDFLAGSNOSSL="-s -lsocket" compile-qnx-nossl
+ $(MAKE) LDFLAGSNOSSL="-lsocket" compile-qnx-nossl
distclean: clean
@@ -47,10 +47,10 @@
## generic
compile-generic:
- $(CC) $(CFLAGS) $(LDFLAGS) $(LDEXTRA) -o $(out) rrs.c md5.c sha1.c farm9crypt.cc twofish2.cc
+ $(CC) $(CFLAGS) $(LDEXTRA) -o $(out) rrs.c md5.c sha1.c farm9crypt.cc twofish2.cc $(LDFLAGS)
compile-generic-nossl:
- $(CC) -DWITHOUT_SSL $(CFLAGS) $$CFLAGS $(LDFLAGSNOSSL) $(LDEXTRA) -o $(out) rrs.c md5.c sha1.c farm9crypt.cc twofish2.cc
+ $(CC) -DWITHOUT_SSL $(CFLAGS) $$CFLAGS $(LDEXTRA) -o $(out) rrs.c md5.c sha1.c farm9crypt.cc twofish2.cc $(LDFLAGSNOSSL)
## qnx
compile-qnx: