diff options
author | Jack Lloyd <[email protected]> | 2018-10-07 18:07:48 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-10-07 18:07:48 -0400 |
commit | b074cb4b554d2e932f4a5be48464f4b2716b3c2c (patch) | |
tree | 5339f807c277b8501470c399804fc95dc007299e /src/build-data | |
parent | f396fc92bab378440741174fdbb9144dccb0f90d (diff) |
Fixes for building for LLVM bitcode/Emscripten
GH #1702
Diffstat (limited to 'src/build-data')
-rw-r--r-- | src/build-data/cc/clang.txt | 2 | ||||
-rw-r--r-- | src/build-data/os/llvm.txt | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt index 056cc8325..47ab837b5 100644 --- a/src/build-data/cc/clang.txt +++ b/src/build-data/cc/clang.txt @@ -68,7 +68,7 @@ llvm -> "-emit-llvm -fno-use-cxa-atexit" </cpu_flags> <mach_abi_linking> -all!haiku -> "-pthread" +all!haiku,llvm -> "-pthread" openmp -> "-fopenmp" diff --git a/src/build-data/os/llvm.txt b/src/build-data/os/llvm.txt index 132d7749f..87925142d 100644 --- a/src/build-data/os/llvm.txt +++ b/src/build-data/os/llvm.txt @@ -1,9 +1,14 @@ obj_suffix bc +static_suffix bc +program_suffix .bc + ar_command llvm-link ar_options -o +use_stack_protector no + <target_features> filesystem </target_features> |