summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-05-10 01:05:46 +0000
committerKhem Raj <raj.khem@gmail.com>2016-05-10 01:05:46 +0000
commit1b3abca3b98604274b99e9d5d850c1a043d77412 (patch)
tree14846f01c74f84c782d3b5a1149069c070292498 /conf
parentae695e048867e90fe90ffd93773f73f57db061d1 (diff)
downloadmeta-clang-1b3abca3b98604274b99e9d5d850c1a043d77412.tar.gz
nonclangable: Tweak cflags for icu and ruby
icu on clang (arm < v5 ) needs atomics which are not there in libgcc ruby configure triggers on -pie since clang is kind enough to warn about a linker option on compile cmdline, but its treated as error Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/nonclangable.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index 5a4f212..f939f4a 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -52,5 +52,19 @@ TOOLCHAIN_pn-uclibc = "gcc"
52TOOLCHAIN_pn-uclibc-initial = "gcc" 52TOOLCHAIN_pn-uclibc-initial = "gcc"
53TOOLCHAIN_pn-valgrind = "gcc" 53TOOLCHAIN_pn-valgrind = "gcc"
54TOOLCHAIN_pn-zlib = "gcc" 54TOOLCHAIN_pn-zlib = "gcc"
55#
56#../../lib/libicui18n.so: undefined reference to `__atomic_fetch_sub_4'
57#../../lib/libicui18n.so: undefined reference to `__atomic_load_4'
58#../../lib/libicui18n.so: undefined reference to `__atomic_store_4'
59#../../lib/libicui18n.so: undefined reference to `__atomic_fetch_add_4'
60#
61TOOLCHAIN_pn-icu_toolchain-clang_armv4 = "gcc"
62TOOLCHAIN_pn-icu_toolchain-clang_armv5 = "gcc"
55 63
56CFLAGS_append_pn-liboil_toolchain-clang_x86-64 = " -fheinous-gnu-extensions " 64CFLAGS_append_pn-liboil_toolchain-clang_x86-64 = " -fheinous-gnu-extensions "
65
66#| configure: error: something wrong with CFLAGS
67# Due to -pie (ldflag) being passed to compiler clang warns
68# ruby configure does not like that
69SECURITY_CFLAGS_remove_pn-ruby_toolchain-clang = "-pie"
70SECURITY_LDLAGS_append_pn-ruby_toolchain-clang = " -Wl,-pie"