mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/ldc: fixes
This commit is contained in:
parent
945cf41393
commit
7903cd7560
1 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,9 @@
|
|||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - -DBUILD_LTO_LIBS=OFF
|
||||
# - -DLDC_BUILD_WITH_LTO=OFF
|
||||
# - removed "-linker=gold -flto=full" from -DD_COMPILER_FLAGS
|
||||
# - ninja -j2 due to RAM constraints
|
||||
|
||||
buildarch=12
|
||||
|
||||
|
@ -59,11 +61,12 @@ build() {
|
|||
-DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc \
|
||||
-DBUILD_SHARED_LIBS=BOTH \
|
||||
-DBUILD_LTO_LIBS=OFF \
|
||||
-DLDC_BUILD_WITH_LTO=OFF \
|
||||
-DLDC_WITH_LLD=OFF \
|
||||
-DD_COMPILER_FLAGS="-link-defaultlib-shared=false" \
|
||||
-DADDITIONAL_DEFAULT_LDC_SWITCHES="\"-link-defaultlib-shared\"" \
|
||||
..
|
||||
ninja
|
||||
ninja -j2
|
||||
}
|
||||
|
||||
check() {
|
||||
|
|
Loading…
Reference in a new issue