summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author Julian Sikorski <belegdol+github@gmail.com>2015-06-06 13:38:19 +0200
committer Julian Sikorski <belegdol+github@gmail.com>2015-06-06 13:38:19 +0200
commit13506b6b54360591f7182aed12be0d63618e2c84 (patch)
tree42148a5621855566a4cdd133cc118d81828ae2e8 /scripts/genie.lua
parent6684d8af8efc0d2e46a4e7fc1da0fb9953fad11d (diff)
Added OPT_FLAGS back
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index ba639398c64..702ae917064 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -169,6 +169,11 @@ newoption {
}
newoption {
+ trigger = "OPT_FLAGS",
+ description = "OPT_FLAGS.",
+}
+
+newoption {
trigger = "LDOPTS",
description = "Additional linker options",
}
@@ -739,6 +744,11 @@ if _OPTIONS["OPTIMIZE"] then
_OPTIONS["ARCHOPTS"]
}
end
+ if _OPTIONS["OPT_FLAGS"] then
+ buildoptions {
+ _OPTIONS["OPT_FLAGS"]
+ }
+ end
if _OPTIONS["LTO"]=="1" then
-- -flto=4 -> 4 threads
buildoptions {