d: Predefine the D_PIE version condition when flag_pie is set.
Same as the D_PIC version condition, which is set by flag_pic. gcc/d/ChangeLog: * d-builtins.cc (d_init_versions): Predefine D_PIE if flag_pie is set.
This commit is contained in:
parent
be080b1727
commit
5a5d23010a
@ -480,6 +480,8 @@ d_init_versions (void)
|
||||
VersionCondition::addPredefinedGlobalIdent ("D_Coverage");
|
||||
if (flag_pic)
|
||||
VersionCondition::addPredefinedGlobalIdent ("D_PIC");
|
||||
if (flag_pie)
|
||||
VersionCondition::addPredefinedGlobalIdent ("D_PIE");
|
||||
|
||||
if (global.params.doDocComments)
|
||||
VersionCondition::addPredefinedGlobalIdent ("D_Ddoc");
|
||||
|
Loading…
Reference in New Issue
Block a user