From 9a4ca08e5ffee842d0ede78c4ce9f745f0ca42b6 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Fri, 6 Jul 2007 04:26:32 +0000 Subject: Remove usage of TARGET_LDFLAGS all together. Both TARGET_CFLAGS and TARGET_LDFLAGS are passed with the compilers and linker respectively so that we can pass CFLAGS and LDFLAGS on a per-package basis which was not possible previously and a number of packages failed to build. TARGET_CFLAGS usage in package makefiles will be removed next. --- package/procps/procps.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'package/procps/procps.mk') diff --git a/package/procps/procps.mk b/package/procps/procps.mk index ff0aac6e5..3cab79d82 100644 --- a/package/procps/procps.mk +++ b/package/procps/procps.mk @@ -16,13 +16,10 @@ $(DL_DIR)/$(PROCPS_SOURCE): $(PROCPS_DIR)/.source: $(DL_DIR)/$(PROCPS_SOURCE) $(ZCAT) $(DL_DIR)/$(PROCPS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(PROCPS_DIR) package/procps/ procps\*.patch - $(SED) '/^CFLAGS/s:-O2:$(TARGET_CFLAGS):' $(PROCPS_DIR)/Makefile - $(SED) '/^LDFLAGS/s:$$:$(TARGET_LDFLAGS):' $(PROCPS_DIR)/Makefile touch $(PROCPS_DIR)/.source $(PROCPS_DIR)/$(PROCPS_BINARY): $(PROCPS_DIR)/.source - $(TARGET_CONFIGURE_OPTS) $(MAKE) CPPFLAGS=-I$(STAGING_DIR)/include \ - CC=$(TARGET_CC) -C $(PROCPS_DIR) + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(PROCPS_DIR) $(TARGET_DIR)/$(PROCPS_TARGET_BINARY): $(PROCPS_DIR)/$(PROCPS_BINARY) $(TARGET_CONFIGURE_OPTS) $(MAKE) DESTDIR=$(TARGET_DIR) \ -- cgit v1.2.3