Fix libcurl build on Clang 3.5.
This commit is contained in:
parent
248d776a23
commit
2ea3d9023b
@ -23,6 +23,10 @@ elif builder.target_platform == 'windows':
|
||||
elif builder.target_platform == 'linux':
|
||||
binary.compiler.defines += ['_GNU_SOURCE']
|
||||
|
||||
if binary.compiler.vendor == 'clang':
|
||||
# https://llvm.org/bugs/show_bug.cgi?id=16428
|
||||
binary.compiler.cflags += ['-Wno-unknown-attributes']
|
||||
|
||||
binary.sources += [
|
||||
'base64.c',
|
||||
'connect.c',
|
||||
|
Loading…
Reference in New Issue
Block a user