Skip to content

Commit

Permalink
Add compiler-rt settings to support baremetal builds and builtins
Browse files Browse the repository at this point in the history
This should improve the cross-compiler support, for example if we want
to build for ARM.

Part of ldc-developers#97.
  • Loading branch information
WebDrake committed Feb 29, 2020
1 parent 13b2550 commit 87e3932
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ parts:
-DCMAKE_INSTALL_PREFIX= \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS=-static-libstdc++ \
-DCOMPILER_RT_BAREMETAL_BUILD=ON \
-DCOMPILER_RT_BUILD_BUILTINS=ON \
-DCOMPILER_RT_INCLUDE_TESTS=OFF \
-DCOMPILER_RT_USE_LIBCXX=OFF \
-DLLVM_BINUTILS_INCDIR=/usr/include \
Expand Down

0 comments on commit 87e3932

Please sign in to comment.