Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,8 @@ then
CFG_CLANG_VERSION=$("$CFG_CLANG" \
--version \
| grep version \
| cut -d ' ' -f 3)
| sed 's/.*\(version .*\)/\1/' \
| cut -d ' ' -f 2)

case $CFG_CLANG_VERSION in
(3.0svn | 3.0 | 3.1)
Expand Down
2 changes: 1 addition & 1 deletion mk/platform.mk
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ ifeq ($(CFG_C_COMPILER),clang)
CC=clang
CXX=clang++
CPP=cpp
CFG_GCCISH_CFLAGS += -Wall -Werror -fno-rtti -g
CFG_GCCISH_CFLAGS += -Wall -Werror -Wno-c++11-compat -fno-rtti -g
CFG_GCCISH_LINK_FLAGS += -g
CFG_DEPEND_C = $(CFG_GCCISH_CROSS)$(CXX) $(CFG_GCCISH_CFLAGS) -MT "$(1)" \
-MM $(2)
Expand Down
4 changes: 4 additions & 0 deletions src/rt/rust_unwind.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@ typedef int _Unwind_Reason_Code;

#if (defined __APPLE__) || (defined __clang__)

#ifndef __FreeBSD__

typedef int _Unwind_Action;
typedef void _Unwind_Exception;

#endif

#endif

#endif