aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorDmitri Goutnik <[email protected]>2019-12-14 07:36:47 -0500
committerRon Evans <[email protected]>2019-12-29 10:48:28 +0100
commit71a380ce8c622480eb4df50f9f43f2e63c00bccc (patch)
tree3cff776cdba95757da2296472e9cef419b6d4194 /Makefile
parent3b2a4b64c5b70803e50eca12e58d66142c4a6182 (diff)
downloadtinygo-71a380ce8c622480eb4df50f9f43f2e63c00bccc.tar.gz
tinygo-71a380ce8c622480eb4df50f9f43f2e63c00bccc.zip
Add initial FreeBSD support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ff189ca70..ad09d9e49 100644
--- a/Makefile
+++ b/Makefile
@@ -62,6 +62,11 @@ $(LIBCLANG_PATH): $(LIBCLANG_FILES)
else ifeq ($(shell uname -s),Darwin)
MD5SUM = md5
LIBCLANG_PATH = $(abspath $(LLVM_BUILDDIR))/lib/libclang.a
+else ifeq ($(shell uname -s),FreeBSD)
+ MD5SUM = md5
+ LIBCLANG_PATH = $(abspath $(LLVM_BUILDDIR))/lib/libclang.a
+ START_GROUP = -Wl,--start-group
+ END_GROUP = -Wl,--end-group
else
LIBCLANG_PATH = $(abspath $(LLVM_BUILDDIR))/lib/libclang.a
START_GROUP = -Wl,--start-group