building: PrepareBuilding forgot to declare BuildOptions as global

The global variables in the building.py are totally a pile of shit.
This commit is contained in:
Grissiom 2015-03-18 15:50:10 +08:00
parent 1d23ce6cbd
commit 43e020d481
1 changed files with 1 additions and 0 deletions

View File

@ -259,6 +259,7 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [
def PrepareModuleBuilding(env, root_directory, bsp_directory): def PrepareModuleBuilding(env, root_directory, bsp_directory):
import rtconfig import rtconfig
global BuildOptions
global Env global Env
global Rtt_Root global Rtt_Root