diff options
author | Seokyeon Hwang <syeon.hwang@samsung.com> | 2016-12-02 14:46:48 +0900 |
---|---|---|
committer | SeokYeon Hwang <syeon.hwang@samsung.com> | 2016-12-02 17:35:28 +0900 |
commit | b9f2bf02f872ad94f19dbf0f88e8ebc98dfb8a01 (patch) | |
tree | a2dd4f322618ecd3864e6ac93144fdbe58030bd0 /configure | |
parent | f6f9dabab4a3b1d2e19bd7fde47de8dafc131b46 (diff) | |
download | qemu-b9f2bf02f872ad94f19dbf0f88e8ebc98dfb8a01.tar.gz qemu-b9f2bf02f872ad94f19dbf0f88e8ebc98dfb8a01.tar.bz2 qemu-b9f2bf02f872ad94f19dbf0f88e8ebc98dfb8a01.zip |
configure: fix configure error with clang
Change-Id: I211b3c97e26bc43c3b391f2c930933abcf40c2fd
Signed-off-by: Seokyeon Hwang <syeon.hwang@samsung.com>
Diffstat (limited to 'configure')
-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 |