diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-03 18:01:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-03 18:01:22 +0200 |
commit | a3bdb6c8d83d424da664ea8c4ee680a9b67e1b30 (patch) | |
tree | 8672de67513b1971abcb9c5fb5b0337ddcf67184 /platform/haiku | |
parent | f5f7244a2b59de60b2c1c29346b2fe5ded2ae2d0 (diff) | |
parent | b0d41847ed1e4cd9407dce0d26aaa09db656ec12 (diff) |
Merge pull request #30277 from akien-mga/scons-cppdefines
SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor defines
Diffstat (limited to 'platform/haiku')
-rw-r--r-- | platform/haiku/detect.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/platform/haiku/detect.py b/platform/haiku/detect.py index 5a708cdaca..28d52e79a2 100644 --- a/platform/haiku/detect.py +++ b/platform/haiku/detect.py @@ -148,8 +148,7 @@ def configure(env): ## Flags env.Prepend(CPPPATH=['#platform/haiku']) - env.Append(CPPFLAGS=['-DUNIX_ENABLED', '-DOPENGL_ENABLED', '-DGLES_ENABLED']) - env.Append(CPPFLAGS=['-DMEDIA_KIT_ENABLED']) - # env.Append(CPPFLAGS=['-DFREETYPE_ENABLED']) - env.Append(CPPFLAGS=['-DPTHREAD_NO_RENAME']) # TODO: enable when we have pthread_setname_np + env.Append(CPPDEFINES=['UNIX_ENABLED', 'OPENGL_ENABLED', 'GLES_ENABLED']) + env.Append(CPPDEFINES=['MEDIA_KIT_ENABLED']) + env.Append(CPPDEFINES=['PTHREAD_NO_RENAME']) # TODO: enable when we have pthread_setname_np env.Append(LIBS=['be', 'game', 'media', 'network', 'bnetapi', 'z', 'GL']) |