Skip to content

Commit

Permalink
fix Issue 16794 - dmd not working on Ubuntu 16.10
Browse files Browse the repository at this point in the history
- enable PIC by default on amd64 linux (no significant overhead, full
  PIC/PIE support)
- also see dlang/installer#207
  • Loading branch information
MartinNowak committed Dec 24, 2016
1 parent 907e2ef commit 9fbce55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ini/linux/bin64/dmd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
DFLAGS=-I%@P%/../../src/phobos -I%@P%/../../src/druntime/import -L-L%@P%/../lib32 -L--export-dynamic

[Environment64]
DFLAGS=-I%@P%/../../src/phobos -I%@P%/../../src/druntime/import -L-L%@P%/../lib64 -L--export-dynamic
DFLAGS=-I%@P%/../../src/phobos -I%@P%/../../src/druntime/import -L-L%@P%/../lib64 -L--export-dynamic -fPIC

0 comments on commit 9fbce55

Please sign in to comment.