mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 3ebe373309215120a25df314b9d6e625070091cb
parent a674be611c1541a3028d823f92b97882b1ffdf82
Author: Leah Neukirchen <leah@vuxu.org>
Date:   Sat, 16 Sep 2017 16:48:55 +0200

GNUmakefile: tweaks to make it easier for OpenBSD ports

Diffstat:
GNUmakefile | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile @@ -1,11 +1,13 @@ -CFLAGS+=-g -O2 -Wall -Wno-switch -Wextra -fstack-protector-strong -D_FORTIFY_SOURCE=2 +CFLAGS=-g -O2 +override CFLAGS:=-Wall -Wno-switch -Wextra -fstack-protector-strong -D_FORTIFY_SOURCE=2 $(CFLAGS) LDLIBS=-lrt OS := $(shell uname) ifeq ($(OS),OpenBSD) -CFLAGS+=-I/usr/local/include -pthread -LDLIBS=-L/usr/local/lib -liconv -pthread +LOCALBASE=/usr/local +CFLAGS+=-I$(LOCALBASE)/include -pthread +LDLIBS=-L$(LOCALBASE)/lib -liconv -pthread endif ifeq ($(OS),Darwin)