CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
IDProjectCategoryTask TypeSeveritySummaryStatusProgress
 78 CRUX-ARMtoolchainBug ReportLow toolchain: gcc-static unnecessarily rebuilt Closed
100%
Task Description

gcc-static is unnecessarily rebuilt each time make is invoked due to an incorrect filename extension in the Makefile target definition. Patch follows:

diff –git a/Makefile b/Makefile
index 4ab3882..568739d 100644
— a/Makefile
+++ b/Makefile
@@ -173,10 +173,10 @@ binutils-distclean: binutils-clean


# GCC-STATIC
-$(WORK)/gcc-$(GCC_VERSION).tar.bz2:
+$(WORK)/gcc-$(GCC_VERSION).tar.xz:

      wget -P $(WORK) -c ftp://gcc.gnu.org/pub/gcc/releases/gcc-$(GCC_VERSION)/gcc-$(GCC_VERSION).tar.xz


-$(WORK)/gcc-$(GCC_VERSION): $(WORK)/gcc-$(GCC_VERSION).tar.bz2
+$(WORK)/gcc-$(GCC_VERSION): $(WORK)/gcc-$(GCC_VERSION).tar.xz

      tar -C $(WORK) -xf $(WORK)/gcc-$(GCC_VERSION).tar.xz
      touch $(WORK)/gcc-$(GCC_VERSION)
Showing tasks 1 - 1 of 1 Page 1 of 1

Available keyboard shortcuts

Tasklist

Task Details

Task Editing