cc-options currently do not get seem to get passed to GHC. It would be useful if they were, since GHC is capable of compiling C/C++ files and now it might more than before given the addition of addForeignFile in GHC 8.2, which lets users compile and link C/C++ files from TH.