diff options
author | Yuichiro NAITO <[email protected]> | 2018-08-21 10:42:30 +0900 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2018-08-22 06:10:32 -0400 |
commit | 7767d0f28de1accae535d422cd295c46f0815c7d (patch) | |
tree | 88cfa8bf5ea8a5476b191250430e26406efdd552 /make/variant | |
parent | 4b7a96048aa0ebef75079423b64549b763208f32 (diff) |
build: Allows to use clang/clang++ compiler on FreeBSD.
LOCALBASE variable is used to indicate where FreeBSD ports are installed.
default is /usr/local.
Diffstat (limited to 'make/variant')
-rw-r--r-- | make/variant/freebsd.defs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/make/variant/freebsd.defs b/make/variant/freebsd.defs index f575c8bed..d8a7245f8 100644 --- a/make/variant/freebsd.defs +++ b/make/variant/freebsd.defs @@ -1,5 +1,10 @@ +# LOCALBASE is where FreeBSD ports are installed. default is '/usr/local'. +LOCALBASE ?= /usr/local + TARGET.dylib.ext = .so +GCC.I = $(LOCALBASE)/include +GCC.L = $(LOCALBASE)/lib GCC.D = LIBICONV_PLUG GCC.args.dylib = -shared |