diff options
| author | gingerBill <bill@gingerbill.org> | 2022-02-20 14:48:12 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-02-20 14:48:12 +0000 |
| commit | 3e5c60f74672651044d70303e8b0a8e56ca765f2 (patch) | |
| tree | 1dbd240ebea3e33646aa8c4d8a939ec38d6222bd /src/build_settings.cpp | |
| parent | 0fa487f468b1f63d5ec97ae8bbb0da01717f32cc (diff) | |
Add `-reloc-mode:<string>`
Diffstat (limited to 'src/build_settings.cpp')
| -rw-r--r-- | src/build_settings.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index cd9bdb40c..d56a343df 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -189,6 +189,13 @@ enum ErrorPosStyle { ErrorPosStyle_COUNT }; +enum RelocMode { + RelocMode_Default, + RelocMode_Static, + RelocMode_PIC, + RelocMode_DynamicNoPIC, +}; + // This stores the information for the specify architecture of this build struct BuildContext { // Constants @@ -270,6 +277,8 @@ struct BuildContext { bool copy_file_contents; + RelocMode reloc_mode; + u32 cmd_doc_flags; Array<String> extra_packages; |