diff options
author | Kostadin Damyanov <maxmight@gmail.com> | 2015-05-25 03:49:24 +0300 |
---|---|---|
committer | Kostadin Damyanov <maxmight@gmail.com> | 2015-05-25 03:49:24 +0300 |
commit | 4e07a2dea8c94337702d35d0d02d4b7234f86e29 (patch) | |
tree | a12a04e950dc1846a7e804b1e1a8bfa9b9c8e37a /platform/haiku | |
parent | 4a56f72f5be6cd34c96a082e3697f4eecd744e75 (diff) |
Haiku: fix building with UNIX_ENABLED.
Diffstat (limited to 'platform/haiku')
-rw-r--r-- | platform/haiku/detect.py | 6 | ||||
-rw-r--r-- | platform/haiku/os_haiku.cpp | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/platform/haiku/detect.py b/platform/haiku/detect.py index 992c73ee79..5dad2af033 100644 --- a/platform/haiku/detect.py +++ b/platform/haiku/detect.py @@ -34,9 +34,11 @@ def configure(env): env["bits"]="32" env.Append(CPPPATH = ['#platform/haiku']) + + # TODO: add clang and try gcc2 too env["CC"] = "gcc-x86" env["CXX"] = "g++-x86" - env.Append(CPPFLAGS = ['-DDEBUG_METHODS_ENABLED']) + env.Append(CPPFLAGS = ['-DDEBUG_METHODS_ENABLED']) env.Append(CPPFLAGS = ['-DUNIX_ENABLED']) - #env.Append(LIBS = ['be']) + env.Append(LIBS = ['be']) diff --git a/platform/haiku/os_haiku.cpp b/platform/haiku/os_haiku.cpp index e69de29bb2..8841306b7a 100644 --- a/platform/haiku/os_haiku.cpp +++ b/platform/haiku/os_haiku.cpp @@ -0,0 +1,5 @@ +#include "os_haiku.h" + +String OS_Haiku::get_name() { + return "Haiku"; +} |