$OpenBSD: patch-testsuite_lib_libffi_exp,v 1.2 2020/02/10 18:06:34 jasper Exp $

cc1: error: unrecognized command line option "-Wno-psabi"

Index: testsuite/lib/libffi.exp
--- testsuite/lib/libffi.exp.orig
+++ testsuite/lib/libffi.exp
@@ -488,7 +488,7 @@ proc run-many-tests { testcases extra_flags } {
         }
       }
       "gnu" {
-        set common "-W -Wall -Wno-psabi"
+        set common "-W -Wall"
         if [info exists env(LIBFFI_TEST_OPTIMIZATION)] {
 	  set optimizations [ list $env(LIBFFI_TEST_OPTIMIZATION) ]
         } else { 
