Fix libcurl build on Clang 3.5.

This commit is contained in:
Asher Baker 2015-11-04 15:21:13 +00:00
parent 248d776a23
commit 2ea3d9023b

View File

@ -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',