Skip to content

Commit

Permalink
makefile fixes to build on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash committed Sep 2, 2015
1 parent ac027dc commit 236c5e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Make.user
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CFLAGS = -ftls-model=global-dynamic
JCPPFLAGS = -ftls-model=global-dynamic
LLVM_VER = svn
LLVM_GIT_URL_LLVM = https://github.com/JuliaLang/llvm.git -b kf/tlsrebase5

Expand Down
2 changes: 1 addition & 1 deletion src/julia.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ extern "C" {
// WARNING: Threading support is incomplete. Changing the 1 to a 0 will break Julia.
// Nonetheless, we define JL_THREAD and use it to give advanced notice to maintainers
// of what eventual threading support will change.
#if 1
#if 0
// Definition for compiling non-thread-safe Julia.
# define JL_THREAD
#elif !defined(_OS_WINDOWS_)
Expand Down
5 changes: 1 addition & 4 deletions src/options.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@

// codegen options ------------------------------------------------------------

// (Experimental) codegen support for thread-local storage
// #define CODEGEN_TLS

// (Experimental) Use MCJIT ELF, even where it's not the native format
// #define FORCE_ELF
#define FORCE_ELF

// with KEEP_BODIES, we keep LLVM function bodies around for later debugging
// #define KEEP_BODIES
Expand Down

0 comments on commit 236c5e4

Please sign in to comment.