The YF-12 prototypes looked superficially similar to the SR-71 but had substantially different airframes. There is simply no place in an SR-71 to mount the necessary weapons, sensors, and avionics without completely rebuilding the entire aircraft. That would be a stupid waste of resources when existing platforms can already accomplish the mission well enough.