File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ tar -xf "patchelf-${PATCHELF_VERSION}.tar.bz2"
1313
1414pushd patchelf-0.13.1.20211127.72b6d44
1515
16+ # support loongarch for patchelf
17+ curl -sSL https://github.com/NixOS/patchelf/commit/4b87d4fa5769af2d7d37af0756f2fc9892f5afd2.patch | patch -p1
18+
1619CC=" ${HOST_CC} " CXX=" ${HOST_CXX} " CFLAGS=" ${EXTRA_HOST_CFLAGS} -fPIC" CPPFLAGS=" ${EXTRA_HOST_CFLAGS} -fPIC" \
1720 ./configure \
1821 --build=" ${BUILD_TRIPLE} " \
Original file line number Diff line number Diff line change @@ -267,6 +267,7 @@ loongarch64-unknown-linux-gnu:
267267 - ' 3.12'
268268 - ' 3.13'
269269 - ' 3.14'
270+ - ' 3.15'
270271 docker_image_suffix : .cross-loongarch64
271272 host_cc : /usr/bin/x86_64-linux-gnu-gcc
272273 host_cxx : /usr/bin/x86_64-linux-gnu-g++
@@ -275,6 +276,7 @@ loongarch64-unknown-linux-gnu:
275276 target_ldflags :
276277 # Hardening
277278 - ' -Wl,-z,noexecstack'
279+ - ' -Wl,-z,max-page-size=0x10000'
278280 needs :
279281 - autoconf
280282 - bdb
You can’t perform that action at this time.
0 commit comments