Perchlorates are highly soluble, aren't they? So, leech them out.
I anticipate growing things on Mars will be more like hydroponics than conventional agriculture. You're investing in a pressure vessel to contain the crops, so the cost per unit area is already quite high.