From 43e020d48162504ddf48f4385a7b4099eece8772 Mon Sep 17 00:00:00 2001 From: Grissiom Date: Wed, 18 Mar 2015 15:50:10 +0800 Subject: [PATCH] building: PrepareBuilding forgot to declare BuildOptions as global The global variables in the building.py are totally a pile of shit. --- tools/building.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/building.py b/tools/building.py index 0b361dde2..d95cf3672 100644 --- a/tools/building.py +++ b/tools/building.py @@ -259,6 +259,7 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [ def PrepareModuleBuilding(env, root_directory, bsp_directory): import rtconfig + global BuildOptions global Env global Rtt_Root