mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-02-18 15:21:25 +00:00
🔨 Fix Warnings.cpp force-recompile
This commit is contained in:
parent
7361c03aa4
commit
de0706e52c
1 changed files with 6 additions and 4 deletions
|
@ -86,8 +86,10 @@ if pioutil.is_pio_build():
|
|||
#
|
||||
# Give warnings on every build
|
||||
#
|
||||
srcpath = os.path.join(env['PROJECT_BUILD_DIR'], build_env, "src", "src")
|
||||
warnfile = os.path.join(srcpath, "inc", "Warnings.cpp.o")
|
||||
build_dir = os.path.join(env['PROJECT_BUILD_DIR'], build_env);
|
||||
for outdir in [ build_dir, os.path.join(build_dir, "debug") ]:
|
||||
for wext in [ ".cpp", "" ]:
|
||||
warnfile = os.path.join(outdir, "src", "src", "inc", "Warnings" + wext + ".o")
|
||||
if os.path.exists(warnfile):
|
||||
os.remove(warnfile)
|
||||
|
||||
|
|
Loading…
Reference in a new issue