diff options
author | 2018-12-26 01:01:57 +1100 | |
---|---|---|
committer | 2018-12-26 01:01:57 +1100 | |
commit | 796382ccc3e6520b97f321d342d9c99722ecece3 (patch) | |
tree | 06f7daa04523b4cb1ceb72ca73c395cbcccfd226 /docs/release/scripts/genie.lua | |
parent | 61e04eda36dcc37c60539f8d91faa0f350613432 (diff) |
0.205 Release filestag205
Diffstat (limited to 'docs/release/scripts/genie.lua')
-rw-r--r-- | docs/release/scripts/genie.lua | 46 |
1 files changed, 45 insertions, 1 deletions
diff --git a/docs/release/scripts/genie.lua b/docs/release/scripts/genie.lua index b11b99203d4..46a4f9310d9 100644 --- a/docs/release/scripts/genie.lua +++ b/docs/release/scripts/genie.lua @@ -219,7 +219,27 @@ newoption { newoption { trigger = "ARCHOPTS", - description = "ARCHOPTS.", + description = "Additional options for target C/C++/Objective-C/Objective-C++ compilers and linker.", +} + +newoption { + trigger = "ARCHOPTS_C", + description = "Additional options for target C++ compiler.", +} + +newoption { + trigger = "ARCHOPTS_CXX", + description = "Additional options for target C++ compiler.", +} + +newoption { + trigger = "ARCHOPTS_OBJC", + description = "Additional options for target Objective-C compiler.", +} + +newoption { + trigger = "ARCHOPTS_OBJCXX", + description = "Additional options for target Objective-C++ compiler.", } newoption { @@ -869,6 +889,30 @@ if _OPTIONS["ARCHOPTS"] then } end +if _OPTIONS["ARCHOPTS_C"] then + buildoptions_c { + _OPTIONS["ARCHOPTS_C"] + } +end + +if _OPTIONS["ARCHOPTS_CXX"] then + buildoptions_cpp { + _OPTIONS["ARCHOPTS_CXX"] + } +end + +if _OPTIONS["ARCHOPTS_OBJC"] then + buildoptions_objc { + _OPTIONS["ARCHOPTS_OBJC"] + } +end + +if _OPTIONS["ARCHOPTS_OBJCXX"] then + buildoptions_objcpp { + _OPTIONS["ARCHOPTS_OBJCXX"] + } +end + if _OPTIONS["SHLIB"] then buildoptions { "-fPIC" |