Skip to content

Commit 999abe3

Browse files
committed
Don't clone build environment
1 parent 74e288a commit 999abe3

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

builder/frameworks/esp8266-nonos-sdk.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@
6666

6767
libs = []
6868

69-
envsafe = env.Clone()
70-
71-
libs.append(envsafe.BuildLibrary(
69+
libs.append(env.BuildLibrary(
7270
join(FRAMEWORK_DIR, "lib", "driver"),
7371
join(FRAMEWORK_DIR, "driver_lib")
7472
))

builder/frameworks/esp8266-rtos-sdk.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@
6868

6969
libs = []
7070

71-
envsafe = env.Clone()
72-
73-
libs.append(envsafe.BuildLibrary(
71+
libs.append(env.BuildLibrary(
7472
join(FRAMEWORK_DIR, "lib", "driver"),
7573
join(FRAMEWORK_DIR, "driver_lib")
7674
))

0 commit comments

Comments
 (0)