From 811cb8e9a536a596ff0c4139ef3049b3ac3d0434 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 27 Oct 2015 12:00:26 +0330 Subject: [PATCH] - Fix Makefile on FreeBSD (does not honour CPPFLAGS) --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 960240a..b3a67c0 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,8 @@ PREFIX?=/usr/local CPPFLAGS=-I$(PREFIX)/include -I./libpidutil LDFLAGS=-L$(PREFIX)/lib -L./libpidutil LDLIBS=-lpidutil -FLAGS=-Wall -Wextra -O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing -mssse3 +CFLAGS=-Wall -Wextra -O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing -mssse3 +CFLAGS+=$(CPPFLAGS) .PHONY: libpidutil get-deps