Simplify use of pie

This commit is contained in:
0dminnimda
2024-11-04 15:39:06 +03:00
committed by flysand7
parent 480f32586e
commit 4f37b34654
3 changed files with 9 additions and 48 deletions
-7
View File
@@ -257,12 +257,6 @@ enum RelocMode : u8 {
RelocMode_DynamicNoPIC,
};
enum LinkPIE : u8 {
LinkPIE_Default,
LinkPIE_No,
LinkPIE_Yes,
};
enum BuildPath : u8 {
BuildPath_Main_Package, // Input Path to the package directory (or file) we're building.
BuildPath_RC, // Input Path for .rc file, can be set with `-resource:`.
@@ -473,7 +467,6 @@ struct BuildContext {
bool print_linker_flags;
RelocMode reloc_mode;
LinkPIE link_pie;
bool disable_red_zone;
isize max_error_count;