From 09687c171239977021af42a7d706af39d0df0173 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 18 Dec 2014 10:25:39 +0100 Subject: [PATCH] allow generic i386 builds with OSX/clang --- wscript | 1 + 1 file changed, 1 insertion(+) diff --git a/wscript b/wscript index 65ec4da5d5..d674114477 100644 --- a/wscript +++ b/wscript @@ -100,6 +100,7 @@ clang_dict['silence-unused-arguments'] = '-Qunused-arguments' clang_dict['extra-cxx-warnings'] = [ '-Woverloaded-virtual', '-Wno-mismatched-tags' ] clang_dict['cxx-strict'] = [ '-ansi', '-Wnon-virtual-dtor', '-Woverloaded-virtual', '-fstrict-overflow' ] clang_dict['strict'] = ['-Wall', '-Wcast-align', '-Wextra', '-Wwrite-strings' ] +clang_dict['generic-x86'] = [ '-arch', 'i386' ] compiler_flags_dictionaries['clang'] = clang_dict; clang_darwin_dict = compiler_flags_dictionaries['clang'].copy();