SHA256
1
0
forked from pool/dpdk
dpdk/0002-examples-ip_pipeline-fix-implicit-declaration-of-fun.patch
Ismail Dönmez 2d571212a5 Accepting request 390534 from home:markoschandras:network
I want to maintain dpdk in Factory and would like to use network as the devel project.

OBS-URL: https://build.opensuse.org/request/show/390534
OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=1
2016-04-26 09:01:32 +00:00

28 lines
946 B
Diff

From 760a997d09d671d3d90f738bae7d0c6e466bf058 Mon Sep 17 00:00:00 2001
From: Nirmoy Das <ndas@suse.de>
Date: Mon, 11 Apr 2016 15:28:31 +0200
Subject: [PATCH 2/2] examples/ip_pipeline: fix implicit declaration of
function '_mm_crc32_u64'
Inspired by http://pkgs.fedoraproject.org/cgit/rpms/dpdk.git/tree/dpdk-2.2-examples.patch
---
examples/ip_pipeline/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/ip_pipeline/Makefile b/examples/ip_pipeline/Makefile
index 10fe1ba..472dc5d 100644
--- a/examples/ip_pipeline/Makefile
+++ b/examples/ip_pipeline/Makefile
@@ -73,7 +73,7 @@ SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) += pipeline_routing_be.c
SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) += pipeline_routing.c
CFLAGS += -I$(SRCDIR) -I$(SRCDIR)/pipeline
-CFLAGS += -O3
+CFLAGS += -O3 -msse4
CFLAGS += $(WERROR_FLAGS) -Wno-error=unused-function -Wno-error=unused-variable
include $(RTE_SDK)/mk/rte.extapp.mk
--
2.6.2