summaryrefslogtreecommitdiffstats
path: root/vpp/vnet/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'vpp/vnet/main.c')
-rw-r--r--vpp/vnet/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpp/vnet/main.c b/vpp/vnet/main.c
index 4659440fed1..2e08aa530f7 100644
--- a/vpp/vnet/main.c
+++ b/vpp/vnet/main.c
@@ -67,7 +67,7 @@ int main (int argc, char * argv[])
u32 size;
void vlib_set_get_handoff_structure_cb (void *cb);
-#if __x86_64__
+#if __x86_64__ && !defined(__clang__)
__builtin_cpu_init ();
const char * msg = "ERROR: This binary requires CPU with %s extensions.\n";
#define _(a,b) \