From 09180c16d255c9386d0fd36bd97cc6dae0ee730e Mon Sep 17 00:00:00 2001 From: Joost Kraaijeveld Date: Sun, 9 Feb 2020 12:19:10 +0100 Subject: [PATCH] Bug 535565 - LLVM/Clang Broken toolchain: finds wrong libraries and does not accept changes Removed global LLVM-settings page Removed automatic addition of libc++ and library path to project settings Change-Id: I0df65b7db73d7eb7360f7da224c326369589f882 Signed-off-by: Joost Kraaijeveld --- .../plugin.xml | 9 --------- .../llvm/util/LlvmResourceListener.java | 18 ------------------ 2 files changed, 27 deletions(-) diff --git a/llvm/org.eclipse.cdt.managedbuilder.llvm.ui/plugin.xml b/llvm/org.eclipse.cdt.managedbuilder.llvm.ui/plugin.xml index 64482ef87eb..8e18a2ae13d 100755 --- a/llvm/org.eclipse.cdt.managedbuilder.llvm.ui/plugin.xml +++ b/llvm/org.eclipse.cdt.managedbuilder.llvm.ui/plugin.xml @@ -5211,15 +5211,6 @@ - - - - = 0) { //$NON-NLS-1$ - LlvmPreferenceStore.addMinGWStdLib(); - // LlvmToolOptionPathUtil.addMissingCppIncludesForMingw(); //TODO: Remove when Scanner Discovery has been fixed - } else if (os.indexOf("nix") >= 0 || os.indexOf("nux") >= 0 /*|| os.indexOf( "mac") >=0 */) { //$NON-NLS-1$ //$NON-NLS-2$ - LlvmPreferenceStore.addStdLibUnix(); - } - - /* - * try to add values (include and library paths and libraries) to - * projects's build configurations to ensure that newly added projects - * have necessary paths. - */ - LlvmToolOptionPathUtil.addAllIncludesToBuildConf(); - LlvmToolOptionPathUtil.addAllLibsToBuildConf(); - LlvmToolOptionPathUtil.addAllLibPathsToBuildConf(); } else { return; }