14 lines
500 B
Plaintext
14 lines
500 B
Plaintext
$OpenBSD: patch-src_Makefile,v 1.2 2012/08/19 13:30:04 ajacoutot Exp $
|
|
--- src/Makefile.orig Thu Jun 3 08:05:01 2010
|
|
+++ src/Makefile Sun Aug 19 15:28:03 2012
|
|
@@ -1,6 +1,7 @@
|
|
include ../Makefile.cfg
|
|
-CC=gcc
|
|
-CFLAGS=-Wall -Wcast-align -Wshadow -Wstrict-prototypes -g -O2 -DHAVE_$(CRYPTO_TYPE) -I../include -I./include
|
|
+CC?=gcc
|
|
+CFLAGS ?=
|
|
+CFLAGS +=-Wall -Wcast-align -Wshadow -Wstrict-prototypes -DHAVE_$(CRYPTO_TYPE) -I../include -I./include
|
|
LDFLAGS=-lz -lpthread
|
|
|
|
ifeq ($(CRYPTO_TYPE),OPENSSL)
|