changeset 3588:ba8987374138

build-gcc: update to 4.9.0 * src/build-gcc.mk: update to version 4.9.0, remove mingw POST_POST_BUILD. * binary-dist-rules.mk: use $(build-gcc_VERSION) instead of hardcoded version.
author John Donoghue
date Fri, 25 Apr 2014 10:39:31 -0400
parents 4e90544559a3
children 780be3cf5995
files binary-dist-rules.mk src/build-gcc.mk
diffstat 2 files changed, 3 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/binary-dist-rules.mk	Thu Apr 24 15:44:00 2014 -0400
+++ b/binary-dist-rules.mk	Fri Apr 25 10:39:31 2014 -0400
@@ -52,7 +52,7 @@
     echo "  DLL files..."
     cp $(BUILD_TOOLS_PREFIX)/lib/gcc/$(TARGET)/*.dll $(OCTAVE_DIST_DIR)/bin
     cp $(BUILD_TOOLS_PREFIX)/lib/gcc/$(TARGET)/*.dll $(OCTAVE_DIST_DIR)/bin
-    cp $(BUILD_TOOLS_PREFIX)/lib/gcc/$(TARGET)/4.8.2/*.dll $(OCTAVE_DIST_DIR)/bin
+    cp $(BUILD_TOOLS_PREFIX)/lib/gcc/$(TARGET)/$(build-gcc_VERSION)/*.dll $(OCTAVE_DIST_DIR)/bin
     echo "  msys base files..."
     cd $(TOP_DIR)/msys-base \
       && tar -c $(TAR_H_OPTION) -f - . | ( cd $(OCTAVE_DIST_DIR) ; tar xpf - )
--- a/src/build-gcc.mk	Thu Apr 24 15:44:00 2014 -0400
+++ b/src/build-gcc.mk	Fri Apr 25 10:39:31 2014 -0400
@@ -3,8 +3,8 @@
 
 PKG             := build-gcc
 $(PKG)_IGNORE   :=
-$(PKG)_VERSION  := 4.8.2
-$(PKG)_CHECKSUM := 810fb70bd721e1d9f446b6503afe0a9088b62986
+$(PKG)_VERSION  := 4.9.0
+$(PKG)_CHECKSUM := fbde8eb49f2b9e6961a870887cf7337d31cd4917
 $(PKG)_SUBDIR   := gcc-$($(PKG)_VERSION)
 $(PKG)_FILE     := gcc-$($(PKG)_VERSION).tar.bz2
 $(PKG)_URL      := ftp://ftp.gnu.org/pub/gnu/gcc/gcc-$($(PKG)_VERSION)/$($(PKG)_FILE)
@@ -73,13 +73,6 @@
     head -1
 endef
 
-ifneq ($(MXE_NATIVE_BUILD),yes)
-  define $(PKG)_POST_BUILD
-    $(INSTALL) -d '$(BUILD_TOOLS_PREFIX)/bin/$(TARGET)'
-    mv $(addprefix $(HOST_PREFIX)/bin/, c++ g++ gcc gfortran) '$(BUILD_TOOLS_PREFIX)/bin/$(TARGET)'
-  endef
-endif
-
 define $(PKG)_CONFIGURE
     # configure gcc
     mkdir '$(1).build'