瀏覽代碼

building: PrepareBuilding forgot to declare BuildOptions as global

The global variables in the building.py are totally a pile of shit.
Grissiom 10 年之前
父節點
當前提交
43e020d481
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tools/building.py

+ 1 - 0
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