]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Disable compiler hardening on nbsd4.
authorDarren Tucker <dtucker@dtucker.net>
Sun, 25 Apr 2021 04:15:02 +0000 (14:15 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Sun, 25 Apr 2021 04:15:02 +0000 (14:15 +1000)
The system compiler supports -fstack-protector-all, but using it will
result in an internal compiler error on some files.

.github/configs

index b24de4dd1e6604e5992c3bb07bf5a84154830bab..7a157259080d863e2785060a56e3b9fcee79a361 100755 (executable)
@@ -108,6 +108,10 @@ case "$config" in
 esac
 
 case "${TARGET_HOST}" in
+    nbsd4)
+       # System compiler will ICE on some files with fstack-protector
+       CONFIGFLAGS="${CONFIGFLAGS} --without-hardening"
+       ;;
     sol10|sol11)
        # sol10 VM is 32bit and the unit tests are slow.
        # sol11 has 4 test configs so skip unit tests to speed up.