From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id D7F405A8E for ; Thu, 29 Jan 2015 16:20:20 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 29 Jan 2015 07:15:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,486,1418112000"; d="scan'208";a="519676274" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga003.jf.intel.com with ESMTP; 29 Jan 2015 07:12:59 -0800 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t0TFKC8p031977 for ; Thu, 29 Jan 2015 15:20:12 GMT Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id t0TFKCp7026480 for ; Thu, 29 Jan 2015 15:20:12 GMT Received: (from smonroy@localhost) by sivswdev02.ir.intel.com with id t0TFKCDB026475 for dev@dpdk.org; Thu, 29 Jan 2015 15:20:12 GMT From: Sergio Gonzalez Monroy To: dev@dpdk.org Date: Thu, 29 Jan 2015 15:20:11 +0000 Message-Id: <1422544811-26385-9-git-send-email-sergio.gonzalez.monroy@intel.com> X-Mailer: git-send-email 1.8.5.4 In-Reply-To: <1422544811-26385-1-git-send-email-sergio.gonzalez.monroy@intel.com> References: <1422544811-26385-1-git-send-email-sergio.gonzalez.monroy@intel.com> Subject: [dpdk-dev] [PATCH 8/8] mk: add -lpthread to linuxapp EXECENV_LDLIBS X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2015 15:20:38 -0000 We need to add -lpthread to EXECENV_LDLIBS because we are not passing -pthread flags in EXECENV_CFLAGS to GCC when linking apps/ Signed-off-by: Sergio Gonzalez Monroy --- mk/exec-env/linuxapp/rte.vars.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mk/exec-env/linuxapp/rte.vars.mk b/mk/exec-env/linuxapp/rte.vars.mk index e5af318..dc01ce9 100644 --- a/mk/exec-env/linuxapp/rte.vars.mk +++ b/mk/exec-env/linuxapp/rte.vars.mk @@ -49,6 +49,8 @@ endif EXECENV_LDFLAGS = --no-as-needed EXECENV_LDLIBS = -lrt -lm +EXECENV_LDLIBS += -lpthread + EXECENV_ASFLAGS = ifeq ($(RTE_BUILD_SHARED_LIB),y) -- 1.9.3