]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Test the flags from OpenWRT's package.
authorDarren Tucker <dtucker@dtucker.net>
Tue, 24 Sep 2024 08:41:44 +0000 (18:41 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Tue, 24 Sep 2024 08:41:44 +0000 (18:41 +1000)
.github/configs

index 4f47f820b50641dd2954e57301c736b740f0fe0b..136357d951837f9b58ceaaf48b853793850d9ffd 100755 (executable)
@@ -301,6 +301,14 @@ case "${TARGET_HOST}" in
        LIBCRYPTOFLAGS="--without-openssl"
        TEST_TARGET="t-exec"
        ;;
+    openwrt-mips)
+       # Test most of the flags that OpenWRT sets for their package build.
+       # We only do this on one OpenWRT target for better coverage.
+       OPENWRT_FLAGS="--disable-strip --disable-lastlog
+          --disable-utmp --disable-utmpx --disable-wtmp --disable-wtmpx
+          --with-stackprotect --with-cflags-after=-fzero-call-used-regs=skip"
+       CONFIGFLAGS="${CONFIGFLAGS} $(echo ${OPENWRT_FLAGS})"
+       ;;
     sol10|sol11)
        # sol10 VM is 32bit and the unit tests are slow.
        # sol11 has 4 test configs so skip unit tests to speed up.