(Re-)Add support for gcc and clang3.9, 4.0, and 5.0.

This commit is contained in:
Kyle Sanderson
2017-10-09 16:53:19 -07:00
parent 30f061e818
commit 65bf85fcbe
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ elif builder.target.platform == 'windows':
elif builder.target.platform == 'linux':
binary.compiler.defines += ['_GNU_SOURCE']
if binary.compiler.vendor == 'clang':
if binary.compiler.family == 'clang':
# https://llvm.org/bugs/show_bug.cgi?id=16428
binary.compiler.cflags += ['-Wno-attributes']