summaryrefslogtreecommitdiff
path: root/security/fressh/files/patch-lib::Makefile
blob: 5699425956393b708a30a31269e55db6e79c31a1 (plain) (blame)
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
$FreeBSD$

--- lib/Makefile	2001/04/18 15:56:18	1.1
+++ lib/Makefile	2001/04/18 15:56:44
@@ -1,8 +1,8 @@
 # $Id: Makefile,v 1.1 2001/04/18 15:56:18 root Exp root $
 
 NOLINT = 1
-DEBUG = -g
-OPTIMIZE = -O2
+#DEBUG = -g
+#OPTIMIZE = -O2
 LIB = ssh
 NOPIC = 1
 
@@ -10,9 +10,9 @@
 .PATH:	${.CURDIR}/../transport
 .PATH:	${.CURDIR}/../crypto
 
-WARNINGS = -Wall -Wstrict-prototypes -Wmissing-prototypes \
-           -Wpointer-arithmetic -Wreturn-type -Wwrite-strings \
-	   -Wcast-qual -Wswitch -Werror # -Wshadow
+#WARNINGS = -Wall -Wstrict-prototypes -Wmissing-prototypes \
+#           -Wpointer-arithmetic -Wreturn-type -Wwrite-strings \
+#	   -Wcast-qual -Wswitch -Werror # -Wshadow
 # DEFINES += -DUNSAFE_DEBUG
 # DEFINES += -DFORCE_VALID_LOOPBACK_HOST_KEYS
 # DEFINES += -DNO_CRC_AT_ALL
@@ -20,8 +20,8 @@
 
 INCLUDE	=  -I${.CURDIR}/.. -I${.CURDIR}/../transport -I${.CURDIR}/../crypto
 
-CPPFLAGS = ${WARNINGS} ${INCLUDE} ${MEMDEBUG_INCLUDE}
-CFLAGS = ${DEBUG} ${OPTIMIZE} ${CPPFLAGS}
+CPPFLAGS += ${WARNINGS} ${INCLUDE} ${MEMDEBUG_INCLUDE}
+CFLAGS += ${DEBUG} ${OPTIMIZE} ${CPPFLAGS}
 
 OS_SRC = ssh_sys_bsd44+.c ssh_sys_posix.c