Pass flags to the C compiler

Jacob Carlborg doob at me.com
Sat Apr 7 10:14:59 UTC 2018


Is it possible to pass the `--target` flag to the C compiler used 
for linking? Or get LDC to forward the  `-mtarget` flag.

This can be used on macOS as an alternative to 
`MACOSX_DEPLOYMENT_TARGET` environment variable that doesn't 
together with Dub or the `-macosx_version_min` linker flag.

--
/Jacob Carlborg


More information about the digitalmars-d-ldc mailing list