mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +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>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - -DBUILD_LTO_LIBS=OFF
|
# - -DBUILD_LTO_LIBS=OFF
|
||||||
|
# - -DLDC_BUILD_WITH_LTO=OFF
|
||||||
# - removed "-linker=gold -flto=full" from -DD_COMPILER_FLAGS
|
# - removed "-linker=gold -flto=full" from -DD_COMPILER_FLAGS
|
||||||
|
# - ninja -j2 due to RAM constraints
|
||||||
|
|
||||||
buildarch=12
|
buildarch=12
|
||||||
|
|
||||||
|
@ -59,11 +61,12 @@ build() {
|
||||||
-DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc \
|
-DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc \
|
||||||
-DBUILD_SHARED_LIBS=BOTH \
|
-DBUILD_SHARED_LIBS=BOTH \
|
||||||
-DBUILD_LTO_LIBS=OFF \
|
-DBUILD_LTO_LIBS=OFF \
|
||||||
|
-DLDC_BUILD_WITH_LTO=OFF \
|
||||||
-DLDC_WITH_LLD=OFF \
|
-DLDC_WITH_LLD=OFF \
|
||||||
-DD_COMPILER_FLAGS="-link-defaultlib-shared=false" \
|
-DD_COMPILER_FLAGS="-link-defaultlib-shared=false" \
|
||||||
-DADDITIONAL_DEFAULT_LDC_SWITCHES="\"-link-defaultlib-shared\"" \
|
-DADDITIONAL_DEFAULT_LDC_SWITCHES="\"-link-defaultlib-shared\"" \
|
||||||
..
|
..
|
||||||
ninja
|
ninja -j2
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
|
|
Loading…
Reference in a new issue