Upstream issue - -DNOJIT shouldn't be used at all: https://github.com/fcorbelli/zpaqfranz/pull/22#issuecomment-1180376914=
So, unless this is taken care of, your diff could/should be fine. I cannot test it though, not having an !amd64 machine at hand currently.. tux0r.