From: Stan Shebs Date: Tue, 25 Sep 2018 14:58:13 +0000 (-0700) Subject: Work around clang problem with ifuncs and vdso X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b35774068a3f606c1fb76476d3e695dc2dacb86e;p=thirdparty%2Fglibc.git Work around clang problem with ifuncs and vdso --- diff --git a/sysdeps/unix/sysv/linux/powerpc/gettimeofday.c b/sysdeps/unix/sysv/linux/powerpc/gettimeofday.c index 994a926a87c..868e0918aaa 100644 --- a/sysdeps/unix/sysv/linux/powerpc/gettimeofday.c +++ b/sysdeps/unix/sysv/linux/powerpc/gettimeofday.c @@ -23,7 +23,7 @@ #include -#ifdef SHARED +#if defined(SHARED) && !defined(__clang__) # include # include diff --git a/sysdeps/unix/sysv/linux/powerpc/time.c b/sysdeps/unix/sysv/linux/powerpc/time.c index 8814bcc14f4..61965fe988d 100644 --- a/sysdeps/unix/sysv/linux/powerpc/time.c +++ b/sysdeps/unix/sysv/linux/powerpc/time.c @@ -16,7 +16,7 @@ License along with the GNU C Library; if not, see . */ -#ifdef SHARED +#if defined(SHARED) && !defined(__clang__) # ifndef __powerpc64__ # define time __redirect_time # else