From patchwork Sat Dec 26 19:52:36 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 41806 X-Patchwork-Delegate: shemminger@vyatta.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id DA9EDB7C03 for ; Sun, 27 Dec 2009 06:52:43 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753351AbZLZTwi (ORCPT ); Sat, 26 Dec 2009 14:52:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753282AbZLZTwi (ORCPT ); Sat, 26 Dec 2009 14:52:38 -0500 Received: from smtp.gentoo.org ([140.211.166.183]:44566 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752873AbZLZTwh (ORCPT ); Sat, 26 Dec 2009 14:52:37 -0500 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 120D96525A; Sat, 26 Dec 2009 19:52:36 +0000 (UTC) From: Mike Frysinger To: stephen.hemminger@vyatta.com, netdev@vger.kernel.org Subject: [PATCH] tc: respect LDFLAGS for %.so targets Date: Sat, 26 Dec 2009 14:52:36 -0500 Message-Id: <1261857156-9037-1-git-send-email-vapier@gentoo.org> X-Mailer: git-send-email 1.6.6.rc4 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Since there aren't any targets that currently use this pattern rule, this is more of a proactive fix. Signed-off-by: Mike Frysinger --- tc/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tc/Makefile b/tc/Makefile index f3dd2b7..0b5d7d3 100644 --- a/tc/Makefile +++ b/tc/Makefile @@ -87,7 +87,7 @@ YACC := bison LEX := flex %.so: %.c - $(CC) $(CFLAGS) -shared -fpic $< -o $@ + $(CC) $(CFLAGS) $(LDFLAGS) -shared -fpic $< -o $@ all: libtc.a tc $(TCSO)