From d3aee17f6d395202eaa42a0c449b6da41f61527c Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 24 Sep 2024 18:41:44 +1000 Subject: [PATCH] Test the flags from OpenWRT's package. --- .github/configs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/configs b/.github/configs index 4f47f820b..136357d95 100755 --- a/.github/configs +++ b/.github/configs @@ -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.