]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Need clang >= 19 for constexpr in hardened_malloc.
authorDarren Tucker <dtucker@dtucker.net>
Thu, 2 Jul 2026 00:05:43 +0000 (10:05 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Thu, 2 Jul 2026 00:05:43 +0000 (10:05 +1000)
.github/setup_ci.sh

index c8314025d9dae871ca3f977b2525af8fb1ed231c..6ab4e4fb56f2b82586deba986d4d90e6effe2273 100755 (executable)
@@ -147,6 +147,8 @@ for TARGET in $TARGETS; do
        ;;
     hardenedmalloc)
        INSTALL_HARDENED_MALLOC=yes
+       # Need clang >= 19 for constexpr.
+       PACKAGES="$PACKAGES clang-19"
        ;;
     musl)
        PACKAGES="$PACKAGES musl-tools"
@@ -245,7 +247,7 @@ if [ "${INSTALL_HARDENED_MALLOC}" = "yes" ]; then
     (cd ${HOME} &&
      git clone https://github.com/GrapheneOS/hardened_malloc.git &&
      cd ${HOME}/hardened_malloc &&
-     make CC=clang && sudo cp out/libhardened_malloc.so /usr/lib/)
+     make CC=clang-19 && sudo cp out/libhardened_malloc.so /usr/lib/)
 fi
 
 if [ ! -z "${INSTALL_OPENSSL}" ]; then