Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ if meta.compiler in ['gcc', 'clang']:
'-std=c11',
])

if 'target_posix' in env['ROC_TARGETS'] and meta.platform not in ['macos']:
if 'target_posix' in env['ROC_TARGETS'] and meta.platform not in ['macos', 'unix']:
# macOS is special, otherwise rely on _POSIX_C_SOURCE
env.Append(CPPDEFINES=[('_POSIX_C_SOURCE', env['ROC_POSIX_PLATFORM'])])

Expand Down Expand Up @@ -959,7 +959,7 @@ if meta.compiler in ['gcc', 'clang']:
'-fPIC',
]})

if meta.platform in ['linux', 'macos']:
if meta.platform in ['linux', 'macos', 'unix']:
env.AddManualDependency(libs=['pthread'])

if meta.platform in ['linux', 'android'] or meta.gnu_toolchain:
Expand Down