summaryrefslogtreecommitdiff
path: root/www-servers/kore/files/kore-4.2.3-kodev-makefile.patch
blob: e1e0fe1fd75ea20b16dff9d7249eff2258fe130a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/kodev/Makefile
+++ b/kodev/Makefile
@@ -9,16 +9,16 @@ INSTALL_DIR=$(PREFIX)/bin
 
 S_SRC=	../src/cli.c
 
-CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+=-Wall -Wstrict-prototypes -Wmissing-prototypes
 CFLAGS+=-Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual
 CFLAGS+=-Wsign-compare -Iincludes -std=c99 -pedantic
 CFLAGS+=-DPREFIX='"$(PREFIX)"'
-LDFLAGS=-lcrypto
+LDFLAGS+=-lcrypto
 
 ifneq ("$(NOOPT)", "")
 	CFLAGS+=-O0
 else
-	CFLAGS+=-O2
+	CFLAGS+=
 endif
 
 ifneq ("$(MINIMAL)", "")