Remove unnecessary extra copy

This commit is contained in:
Kovid Goyal 2019-07-01 13:53:36 +05:30
parent 92496f42c9
commit b9029f6c67
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -23,7 +23,6 @@ def wayland_protocol_file_name(base, ext='c'):
def init_env(env, pkg_config, at_least_version, test_compile, module='x11'):
ans = env.copy()
ans.cflags = list(ans.cflags)
if not is_macos:
ans.cflags.append('-pthread')
ans.ldpaths.append('-pthread')