summaryrefslogtreecommitdiff
path: root/devel/kore/files/patch-kodev_Makefile
blob: 533af6f02cbdd7970ea1b488d3daa2f17eab2ed5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- kodev/Makefile.orig	2020-09-08 19:35:30 UTC
+++ kodev/Makefile
@@ -12,14 +12,8 @@ S_SRC=	../src/cli.c
 CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes
 CFLAGS+=-Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual
 CFLAGS+=-Wsign-compare -Iincludes -std=c99 -pedantic
-CFLAGS+=-DPREFIX='"$(PREFIX)"'
-LDFLAGS=-lcrypto
-
-ifneq ("$(NOOPT)", "")
-	CFLAGS+=-O0
-else
-	CFLAGS+=-O2
-endif
+CFLAGS+=-DPREFIX='"$(PREFIX)"' -I$(OPENSSL_PATH)/include
+LDFLAGS+=-L$(OPENSSL_PATH)/lib -lcrypto
 
 ifneq ("$(MINIMAL)", "")
 	CFLAGS+=-DKODEV_MINIMAL