Be a little more permissive with -fmodules-ignore-macro= by removing everything after the second '=' if it is there.