Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Sep 30, 2024
1 parent 846cbc9 commit b11397f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions builder/frameworks/espidf.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,13 @@
ORIG_BUILD_UNFLAGS = env.subst("$BUILD_UNFLAGS")
ORIG_LINKFLAGS = env.subst("$LINKFLAGS")
ORIG_PROJECT_SRC_DIR = PROJECT_SRC_DIR
#env.GetProjectOption("build_flags").clear()
#env.GetProjectOption("build_unflags").clear()
#env.GetProjectOption("linkflags").clear()
NEW_PROJECT_SRC_DIR = PROJECT_SRC_DIR.replace("tasmota", "dummy")
PROJECT_SRC_DIR = NEW_PROJECT_SRC_DIR
env.Replace(
PROJECT_SRC_DIR=NEW_PROJECT_SRC_DIR,
BUILD_FLAGS="-fno-lto",
BUILD_FLAGS="",
BUILD_UNFLAGS="",
LINKFLAGS="-fno-lto",
LINKFLAGS="",
)
except:
pass
Expand Down

0 comments on commit b11397f

Please sign in to comment.