From 1488c563da75b52ef73a3098fae01a5673de72ed Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 8 Oct 2022 18:29:10 -0700 Subject: Revert "toolchain-clang: Specify -ffile-compilation-dir to omit absolute file paths in debug info" Original issue has been fixed in clang 15+, -ffile-compilation-dir actually conflicts with creating separate -src packages since it confuses the packager about relative locations of the source files This reverts commit 224863150c9320b32f344792928af7fbda56d65d. --- classes/clang.bbclass | 2 -- 1 file changed, 2 deletions(-) (limited to 'classes') diff --git a/classes/clang.bbclass b/classes/clang.bbclass index 8ef4ae8..b92aff4 100644 --- a/classes/clang.bbclass +++ b/classes/clang.bbclass @@ -55,8 +55,6 @@ TUNE_CCARGS:append:toolchain-clang:libc-musl:powerpc = " -mlong-double-64" TUNE_CCARGS:append:toolchain-clang = "${@bb.utils.contains("DISTRO_FEATURES", "usrmerge", " --dyld-prefix=/usr", "", d)}" TUNE_CCARGS:append:toolchain-clang = " -Qunused-arguments" -# Get rid of absolute paths in .file asm directive -TUNE_CCARGS:append:toolchain-clang = " -ffile-compilation-dir=." LDFLAGS:append:toolchain-clang:class-nativesdk:x86-64 = " -Wl,-dynamic-linker,${base_libdir}/ld-linux-x86-64.so.2" LDFLAGS:append:toolchain-clang:class-nativesdk:x86 = " -Wl,-dynamic-linker,${base_libdir}/ld-linux.so.2" -- cgit v1.2.3-54-g00ecf