openbsd-ports/net/iodine/patches/patch-src_Makefile
2008-02-07 12:42:11 +00:00

20 lines
552 B
Plaintext

$OpenBSD: patch-src_Makefile,v 1.1 2008/02/07 12:42:11 sthen Exp $
--- src/Makefile.orig Fri Nov 30 22:11:30 2007
+++ src/Makefile Thu Feb 7 11:48:20 2008
@@ -1,4 +1,4 @@
-CC = gcc
+CC ?= gcc
COMMONOBJS = tun.o dns.o read.o encoding.o login.o base32.o base64.o md5.o common.o
CLIENTOBJS = iodine.o
CLIENT = ../bin/iodine
@@ -9,7 +9,8 @@ OS = `uname | tr "a-z" "A-Z"`
ARCH = `uname -m`
LDFLAGS = -lz
-CFLAGS = -c -g -Wall -D$(OS) -pedantic
+CFLAGS ?= -g
+CFLAGS += -c -Wall -D$(OS) -pedantic
all: stateos $(CLIENT) $(SERVER) $(TESTSUITE)