--- ./configure.ac.ORIGIN	2021-01-06 09:59:08 +0100
+++ ./configure.ac	2021-01-06 10:01:45 +0100
@@ -283,6 +283,7 @@
     else PLATCFLAGS=
       #    else PLATCFLAGS="-errtags=yes" # Need more work as C examples use ld for linking
     fi;;
+  *-*-aix*) PLATCFLAGS="$CFLAGS";;
   *) PLATCFLAGS=
 esac
 AC_MSG_RESULT($PLATCFLAGS)
