how to pass -pie flag to dmd(or rdmd or ldc) ?
Timothee Cour via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jan 25 19:43:13 PST 2017
Can we do this is 1 step?
```
rdmd -offoo.o -c foo.d
g++ -o foo foo.o -pie -Wl,--export-dynamic
```
Ideally something like this would be great:
```
rdmd -offoo -extra_flags=-pie foo.d
```
where -extra_flags=flag1,flag2 can takes comma separated options
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20170125/87a173bb/attachment.html>
More information about the Digitalmars-d
mailing list