They make clamp support plates especially for this. The ones I have on my concrete wall (you could attach them to brick the same way) have two screw holes. In the middle between the two screws is a threaded hole that you use threaded rod to attach the clamp. the advantage of this threaded rod is that you can make the length anything you need to keep the pipe where you want it, and not put stress on the joints. You could use TapCon screws or lead anchors or probably even plastic anchors in the brick to hold it in place. On brick, you may not want to use a powder activated fastener as it may crack the brick. Most brick would drill easily with a carbide bit of the proper size. A TapCon would result in the smallest hole, but you have to buy their drill bit to ensure proper engagement. If you have a hammerdrill, it is fast work. Otherwise, it often takes a bit longer with a normal drill. It's easy to overheat the bit with a normal drill.