[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/7] Makeconf: remove redundant $($*-FOOFLAGS)
From: |
Jeremie Koenig |
Subject: |
[PATCH 4/7] Makeconf: remove redundant $($*-FOOFLAGS) |
Date: |
Mon, 16 Aug 2010 13:51:24 +0200 |
The target-specific $($*-CFLAGS) and $($*-CPPFLAGS) are already embedded
into $(CFLAGS) and $(CPPFLAGS), so it's not necessary to add them at the
usage site.
Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>
---
Makeconf | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makeconf b/Makeconf
index fd47ee0..6f7af87 100644
--- a/Makeconf
+++ b/Makeconf
@@ -310,7 +310,7 @@ rpath := -Wl,-rpath-link=.:$(subst $. ,:,$(dir $(wildcard
../lib*/lib*.so)))
ifeq ($(prof-depend),)
define link-executable
-$(CC) $(rpath) $(CFLAGS) $($*-CFLAGS) $(LDFLAGS) $($*-LDFLAGS) \
+$(CC) $(rpath) $(CFLAGS) $(LDFLAGS) $($*-LDFLAGS) \
$(BUGADDR_REF) \
-o $@
endef
@@ -330,7 +330,7 @@ endif
# Just like above, but tell how to make .prof versions of programs.
$(addsuffix .prof,$(progtarg)): %$(target-suffix).prof: $(BUGADDR)
- $(CC) -pg $(CFLAGS) $($*-CFLAGS) $(LDFLAGS) $($*-LDFLAGS) \
+ $(CC) -pg $(CFLAGS) $(LDFLAGS) $($*-LDFLAGS) \
$(BUGADDR_REF) -static \
-o $@ \
'-Wl,-(' $^ $($*-LDLIBS) $(LDLIBS) \
--
1.7.1
[PATCH 6/7] Makeconf: let config.make define $(configured), Jeremie Koenig, 2010/08/16
[PATCH 5/7] Makeconf: simplify the directory logic, Jeremie Koenig, 2010/08/16
[PATCH 3/7] Update ./configure, Jeremie Koenig, 2010/08/16