From b03375c5c3091d88373eb9d3d602044e74889982 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 21 Dec 2014 01:05:24 +0000 Subject: add freebsd to buildsystem tooling --- makefiles/Makefile.tools | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools index 129d979..8a104d7 100644 --- a/makefiles/Makefile.tools +++ b/makefiles/Makefile.tools @@ -101,6 +101,14 @@ ifeq ($(BUILD),$(HOST)) FLEX ?= gflex endif + + ifeq ($(findstring freebsd,$(HOST)),freebsd) + # Building on+for FreeBSD + CFLAGS := $(CFLAGS) -I$(GCCSDK_INSTALL_ENV)/include -I/usr/local/include + CXXFLAGS := $(CXXFLAGS) -I$(GCCSDK_INSTALL_ENV)/include -I/usr/local/include + LDFLAGS := $(LDFLAGS) -L$(GCCSDK_INSTALL_ENV)/lib -L/usr/local/lib + endif + else # Cross compiling -- cgit v1.2.3