aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/hosts/freebsd.mk
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2019-11-11 08:34:47 +0000
committerHoward Chu <hyc@symas.com>2019-11-14 07:03:04 +0000
commitcca6e5c645b51d4dfed7021be12d993d17fab0d6 (patch)
tree2e27def7e859335449cc4f66aa6369a417b37f49 /contrib/depends/hosts/freebsd.mk
parentgitian: Parametrize target platforms (diff)
downloadmonero-cca6e5c645b51d4dfed7021be12d993d17fab0d6.tar.xz
depends: Add FreeBSD support
Diffstat (limited to 'contrib/depends/hosts/freebsd.mk')
-rw-r--r--contrib/depends/hosts/freebsd.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/contrib/depends/hosts/freebsd.mk b/contrib/depends/hosts/freebsd.mk
new file mode 100644
index 000000000..6a7a2fe20
--- /dev/null
+++ b/contrib/depends/hosts/freebsd.mk
@@ -0,0 +1,17 @@
+freebsd_CC=clang-8
+freebsd_CXX=clang++-8
+freebsd_AR=ar
+freebsd_RANLIB=ranlib
+freebsd_NM=nm
+
+freebsd_CFLAGS=-pipe
+freebsd_CXXFLAGS=$(freebsd_CFLAGS)
+
+freebsd_release_CFLAGS=-O2
+freebsd_release_CXXFLAGS=$(freebsd_release_CFLAGS)
+
+freebsd_debug_CFLAGS=-g -O0
+freebsd_debug_CXXFLAGS=$(freebsd_debug_CFLAGS)
+
+freebsd_native_toolchain=freebsd_base
+