diff options
author | Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com> | 2021-05-27 04:05:15 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-07-14 09:53:49 -0700 |
commit | 0e37c5009f59076584407dbfb653bbabfb7e7bc1 (patch) | |
tree | 6584ea092adde27716c0111fca5c365e914171bc | |
parent | eb4eb7f465a89190aaf1b7374ee71095e3a29ad4 (diff) | |
download | meta-clang-0e37c5009f59076584407dbfb653bbabfb7e7bc1.tar.gz |
Allow building ppp with clang
ppp's use of nested functions and gcc specific flags has been fixed.
The workaround is no longer necessary.
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
-rw-r--r-- | conf/nonclangable.conf | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index db360f5..a51213f 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -110,10 +110,6 @@ DEBUG_FLAGS_remove_pn-pixman_toolchain-clang_arm = "-g" | |||
110 | #| ^ | 110 | #| ^ |
111 | #TOOLCHAIN_pn-polkit = "gcc" | 111 | #TOOLCHAIN_pn-polkit = "gcc" |
112 | 112 | ||
113 | # ppp uses nested functions and gcc specific option e.g. --print-sysroot | ||
114 | # | ||
115 | TOOLCHAIN_pn-ppp = "gcc" | ||
116 | |||
117 | #| ./ports/linux/pseudo_wrappers.c:80:14: error: use of unknown builtin '__builtin_apply' [-Wimplicit-function-declaration] | 113 | #| ./ports/linux/pseudo_wrappers.c:80:14: error: use of unknown builtin '__builtin_apply' [-Wimplicit-function-declaration] |
118 | #| void *res = __builtin_apply((void (*)()) real_syscall, __builtin_apply_args(), sizeof(long) * 7); | 114 | #| void *res = __builtin_apply((void (*)()) real_syscall, __builtin_apply_args(), sizeof(long) * 7); |
119 | #| ^ | 115 | #| ^ |