diff options
-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 |