Disable package note generation
Otherwise additional flag will be used during build process:
gcc .... /builddir/build/BUILD/postgresql-13.6/.package_note-postgresql-13.6-1.module_f36+13837+d3769ef5.x86_64.ld ...
which will be inherited (with wrong paths) during some extension build via: pg_config --pgxs