From b11397f827c49dfc7b12c2e0758e646eb7793c45 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 30 Sep 2024 18:04:17 +0200 Subject: [PATCH] remove dead code --- builder/frameworks/espidf.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/builder/frameworks/espidf.py b/builder/frameworks/espidf.py index 1f4a5a314..a739526ba 100644 --- a/builder/frameworks/espidf.py +++ b/builder/frameworks/espidf.py @@ -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