diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-12-21 01:05:24 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-12-21 01:05:24 +0000 |
commit | b03375c5c3091d88373eb9d3d602044e74889982 (patch) | |
tree | 34de222c1f0f94d6b38a0fdd5f8b400cc30132e5 /makefiles | |
parent | 59f9a1b614f0bdfca35857ce88e3ec0e351a0f00 (diff) | |
download | buildsystem-b03375c5c3091d88373eb9d3d602044e74889982.tar.gz buildsystem-b03375c5c3091d88373eb9d3d602044e74889982.tar.bz2 |
add freebsd to buildsystem tooling
Diffstat (limited to 'makefiles')
-rw-r--r-- | makefiles/Makefile.tools | 8 |
1 files changed, 8 insertions, 0 deletions
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 |