summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-05-13 22:20:38 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-06-29 14:18:14 -0400
commit6485300479041f9d1e43750bad79b22e39aa56a5 (patch)
treee4a2590a8a3a9df5e1b6881f02ea0b04eebe4ad6 /wscript
parent3adfa9ef5746c09985f110b73dfd85a9768bb395 (diff)
remove more explicit compiler flags by placing them in the compiler flags dictionary
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/wscript b/wscript
index 79f9209526..fcd217cf07 100644
--- a/wscript
+++ b/wscript
@@ -82,6 +82,8 @@ compiler_flags_dictionaries= {
'avx': '-mavx',
# Flags to generate position independent code, when needed to build a shared object
'pic': '-fPIC',
+ # Flags required to compile C code with anonymous unions (only part of C11)
+ 'c-anonymous-union': '-fms-extensions',
},
'msvc' : {
'debuggable' : ['/DDEBUG', '/Od', '/Zi', '/MDd', '/Gd', '/EHsc'],
@@ -112,6 +114,7 @@ compiler_flags_dictionaries= {
'attasm': '',
'avx': '',
'pic': '',
+ 'c-anonymous-union': '',
},
}