From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 6B6986835 for ; Thu, 30 Oct 2014 11:48:50 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 30 Oct 2014 03:57:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,285,1413270000"; d="scan'208";a="623395645" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga002.fm.intel.com with ESMTP; 30 Oct 2014 03:57:43 -0700 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 s9UAvhQv021588 for ; Thu, 30 Oct 2014 10:57:43 GMT Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id s9UAvgFj015007 for ; Thu, 30 Oct 2014 10:57:42 GMT Received: (from smonroy@localhost) by sivswdev02.ir.intel.com with id s9UAvgDc015003 for dev@dpdk.org; Thu, 30 Oct 2014 10:57:42 GMT From: Sergio Gonzalez Monroy To: dev@dpdk.org Date: Thu, 30 Oct 2014 10:57:42 +0000 Message-Id: <1414666662-14966-1-git-send-email-sergio.gonzalez.monroy@intel.com> X-Mailer: git-send-email 1.8.5.4 Subject: [dpdk-dev] [PATCH] mk: --no-as-needed by default for linux exec-env 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, 30 Oct 2014 10:48:50 -0000 Ubuntu/Debian toolchain passes --as-needed flag to the linker by default. Add --no-as-needed flag by default in linuxapp exec-env to ensure correct linking. Signed-off-by: Sergio Gonzalez Monroy --- mk/exec-env/linuxapp/rte.vars.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/exec-env/linuxapp/rte.vars.mk b/mk/exec-env/linuxapp/rte.vars.mk index d4808c2..79ddd5f 100644 --- a/mk/exec-env/linuxapp/rte.vars.mk +++ b/mk/exec-env/linuxapp/rte.vars.mk @@ -45,7 +45,7 @@ else EXECENV_CFLAGS = -pthread endif -EXECENV_LDFLAGS = +EXECENV_LDFLAGS = --no-as-needed EXECENV_LDLIBS = -lrt -lm EXECENV_ASFLAGS = -- 1.9.3