19 lines
485 B
Plaintext
19 lines
485 B
Plaintext
$OpenBSD: patch-kodev_Makefile,v 1.1 2018/07/09 17:39:57 fcambus Exp $
|
|
|
|
Index: kodev/Makefile
|
|
--- kodev/Makefile.orig
|
|
+++ kodev/Makefile
|
|
@@ -14,12 +14,6 @@ CFLAGS+=-Wsign-compare -Iincludes -std=c99 -pedantic
|
|
CFLAGS+=-DPREFIX='"$(PREFIX)"'
|
|
LDFLAGS=-lcrypto
|
|
|
|
-ifneq ("$(NOOPT)", "")
|
|
- CFLAGS+=-O0
|
|
-else
|
|
- CFLAGS+=-O2
|
|
-endif
|
|
-
|
|
OSNAME=$(shell uname -s | sed -e 's/[-_].*//g' | tr A-Z a-z)
|
|
ifeq ("$(OSNAME)", "darwin")
|
|
CFLAGS+=-I/opt/local/include/ -I/usr/local/opt/openssl/include
|