diff options
author | 2015-04-10 12:37:34 +0200 | |
---|---|---|
committer | 2015-04-10 12:37:34 +0200 | |
commit | 32dc24420c93ab49fc29974888f215c1300f83fd (patch) | |
tree | c7c959f734592ffe764bc68bafc83716ac2cfd88 /scripts/genie.lua | |
parent | a43d6473decb379b5b6f28ab36e71e4a61192385 (diff) |
Some changes for FreeBSD and Solaris, will be sent upstream as well (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 60539aca51b..e42c92bd455 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -80,6 +80,7 @@ newoption { { "windows", "Windows" }, { "os2", "OS/2 eComStation" }, { "haiku", "Haiku" }, + { "solaris", "Solaris SunOS" }, }, } @@ -767,9 +768,14 @@ end -- warnings only applicable to C compiles buildoptions_c { "-Wpointer-arith", - "-Wbad-function-cast", "-Wstrict-prototypes", } + +if _OPTIONS["targetos"]~="freebsd" then + buildoptions_c { + "-Wbad-function-cast", + } +end -- warnings only applicable to OBJ-C compiles buildoptions_objc { |