this matches the convention of that platform.
configure.ac is an autotools artifact. passing the cflags directly without signaling to our build system will not fully inform the compilation as far as I'm aware as it fails to define
WITH_SHANI which was relied upon to enable the codepaths