diff options
author | Vinzenz Feenstra <evilissimo@gmail.com> | 2014-02-12 16:52:59 +0100 |
---|---|---|
committer | Vinzenz Feenstra <evilissimo@gmail.com> | 2014-02-13 22:15:18 +0100 |
commit | 8b3fecb43dbe50a9952a27f7fbc221158e0a1f03 (patch) | |
tree | 9139f450558ed2de9174953019754870adfc4ae8 /SConstruct | |
parent | 4ff524b5c9227d0eeae2a8d9761add7465c03710 (diff) |
Fix CCFLAGS handling
Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 28225ca76a..6bd2bbf986 100644 --- a/SConstruct +++ b/SConstruct @@ -1,5 +1,6 @@ EnsureSConsVersion(0,14); +import string import os import os.path import glob @@ -165,6 +166,11 @@ for p in platform_list: env = detect.create(env_base) else: env = env_base.Clone() + + CCFLAGS = env.get('CCFLAGS', '') + env['CCFLAGS'] = '' + + env.Append(CCFLAGS=string.split(str(CCFLAGS))) detect.configure(env) env['platform'] = p sys.path.remove("./platform/"+p) |