diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-03-13 16:57:49 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2017-03-13 16:57:49 -0700 |
commit | 8b866aef9f5f6fc7e4998cf59a409b647d18dd21 (patch) | |
tree | 2df75f862869833e5c2c5a3748bc807d952d1f66 | |
parent | 2d6f70a7ec88290eab19b23f4d235a190cb0a1e7 (diff) | |
download | meta-clang-8b866aef9f5f6fc7e4998cf59a409b647d18dd21.tar.gz |
nonclangable: Disable intrinsics for sqlite3
when building with clang it uses compiler-rt intrinsics
which are not available in libgcc and link fails
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | conf/nonclangable.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index b9141a6..d09b212 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -104,6 +104,11 @@ TOOLCHAIN_pn-qemu_arm = "gcc" | |||
104 | 104 | ||
105 | CFLAGS_append_pn-liboil_toolchain-clang_x86-64 = " -fheinous-gnu-extensions " | 105 | CFLAGS_append_pn-liboil_toolchain-clang_x86-64 = " -fheinous-gnu-extensions " |
106 | 106 | ||
107 | #| ./.libs/libsqlite3.so: undefined reference to `__mulodi4' | ||
108 | #| clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation) | ||
109 | #| make: *** [Makefile:509: sqlite3] Error 1 | ||
110 | CFLAGS_append_pn-sqlite3_toolchain-clang = " -DSQLITE_DISABLE_INTRINSIC " | ||
111 | |||
107 | #| configure: error: something wrong with CFLAGS | 112 | #| configure: error: something wrong with CFLAGS |
108 | # Due to -pie (ldflag) being passed to compiler clang warns | 113 | # Due to -pie (ldflag) being passed to compiler clang warns |
109 | # ruby configure does not like that | 114 | # ruby configure does not like that |