From: Andreas Schneider Date: Sat, 25 Mar 2023 16:10:19 +0000 (+0100) Subject: buildtools: Remove compile_commands.json symlink X-Git-Tag: talloc-2.4.1~1262 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ffdfb78da7f5cdabeb06036d0851c83f920e99ea;p=thirdparty%2Fsamba.git buildtools: Remove compile_commands.json symlink We are telling clangd with the .clangd project config file where to find it. Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Wed Mar 29 17:54:05 UTC 2023 on atb-devel-224 --- diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript index 47ed3f71234..30cb366331a 100644 --- a/buildtools/wafsamba/wscript +++ b/buildtools/wafsamba/wscript @@ -720,11 +720,6 @@ struct foo bar = { .y = 'X', .x = 1 }; conf.DEFINE('FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION', 1) conf.env.FUZZ_TARGET_LDFLAGS = Options.options.FUZZ_TARGET_LDFLAGS - # Create a symlink of the compile db for clangd - symlink(os.path.join(conf.bldnode.abspath(), 'default/compile_commands.json'), - os.path.join(conf.srcnode.abspath(), 'compile_commands.json'), - force=True) - conf.SAMBA_BUILD_ENV()