diff options
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1882,6 +1882,7 @@ fi if test "$static" = "no" ; then cat > $TMPC << EOF +#ifndef __clang__ #pragma GCC push_options #pragma GCC target("avx2") #include <cpuid.h> @@ -1893,6 +1894,7 @@ static int bar(void *a) { static void *bar_ifunc(void) {return (void*) bar;} int foo(void *a) __attribute__((ifunc("bar_ifunc"))); int main(int argc, char *argv[]) { return foo(argv[0]);} +#endif //__clang__ EOF if compile_object "" ; then if has readelf; then |