From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tyo202.gate.nec.co.jp (TYO202.gate.nec.co.jp [210.143.35.52]) by dpdk.org (Postfix) with ESMTP id 0344F559C for ; Thu, 4 Dec 2014 00:34:16 +0100 (CET) Received: from mailgate3.nec.co.jp ([10.7.69.193]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id sB3NYECN013498 for ; Thu, 4 Dec 2014 08:34:14 +0900 (JST) Received: from mailsv3.nec.co.jp (imss62.nec.co.jp [10.7.69.157]) by mailgate3.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) with ESMTP id sB3NYDG01239 for ; Thu, 4 Dec 2014 08:34:13 +0900 (JST) Received: from mail03.kamome.nec.co.jp (mail03.kamome.nec.co.jp [10.25.43.7]) by mailsv3.nec.co.jp (8.13.8/8.13.4) with ESMTP id sB3NYD7n000309 for ; Thu, 4 Dec 2014 08:34:13 +0900 (JST) Received: from bpxc99gp.gisp.nec.co.jp ([10.38.151.142] [10.38.151.142]) by mail03.kamome.nec.co.jp with ESMTP id BT-MMP-334413; Thu, 4 Dec 2014 08:33:55 +0900 Received: from BPXM14GP.gisp.nec.co.jp ([169.254.1.73]) by BPXC14GP.gisp.nec.co.jp ([10.38.151.142]) with mapi id 14.03.0174.002; Thu, 4 Dec 2014 08:33:54 +0900 From: Hiroshi Shimamoto To: "dev@dpdk.org" Thread-Topic: [PATCH] mk: fix LDFLAGS for shared lib Thread-Index: AdAPUXZ7rm6VYiryQ02Oy4YIP6UZAQ== Date: Wed, 3 Dec 2014 23:33:54 +0000 Message-ID: <7F861DC0615E0C47A872E6F3C5FCDDBD05DCB8C6@BPXM14GP.gisp.nec.co.jp> Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.205.5.123] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Hayato Momma Subject: [dpdk-dev] [PATCH] mk: fix LDFLAGS for shared lib 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: Wed, 03 Dec 2014 23:34:17 -0000 From: Hiroshi Shimamoto Only CPU_LDFLAGS is used in mk/rte.sharelib.mk. It should be LDFLAGS to build the library with correct linkage options. Signed-off-by: Hiroshi Shimamoto Reviewed-by: Hayato Momma --- mk/rte.sharelib.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/rte.sharelib.mk b/mk/rte.sharelib.mk index c0a811a..df6c268 100644 --- a/mk/rte.sharelib.mk +++ b/mk/rte.sharelib.mk @@ -45,7 +45,7 @@ sharelib: $(LIB_ONE) FORCE =20 OBJS =3D $(wildcard $(RTE_OUTPUT)/build/lib/*.o) =20 -O_TO_S =3D $(LD) $(CPU_LDFLAGS) -shared $(OBJS) -o $(RTE_OUTPUT)/lib/$(LIB= _ONE) +O_TO_S =3D $(LD) $(LDFLAGS) -shared $(OBJS) -o $(RTE_OUTPUT)/lib/$(LIB_ONE= ) O_TO_S_STR =3D $(subst ','\'',$(O_TO_S)) #'# fix syntax highlight O_TO_S_DISP =3D $(if $(V),"$(O_TO_S_STR)"," LD $(@)") O_TO_S_CMD =3D "cmd_$@ =3D $(O_TO_S_STR)" --=20 1.8.3.1