From ce78d86642d5c484879b6fa742a17f7e3d2ca53d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 10 May 2016 01:54:15 +0000 Subject: nonclangable.conf: Fix build of libaio on clang/mips Signed-off-by: Khem Raj --- conf/nonclangable.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'conf') diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index f939f4a..b14f858 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -68,3 +68,7 @@ CFLAGS_append_pn-liboil_toolchain-clang_x86-64 = " -fheinous-gnu-extensions " # ruby configure does not like that SECURITY_CFLAGS_remove_pn-ruby_toolchain-clang = "-pie" SECURITY_LDLAGS_append_pn-ruby_toolchain-clang = " -Wl,-pie" + +#io_getevents.c:25:141: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions +#io_syscall5(int, __io_getevents_0_4, io_getevents, io_context_t, ctx, long, min_nr, long, nr, struct io_event *, events, struct timespec *, timeout) +CFLAGS_append_pn-libaio_toolchain-clang_mips = " -fheinous-gnu-extensions" -- cgit v1.2.3-54-g00ecf