mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
ARM-gcc: update to current version and use safe source.
This commit is contained in:
@@ -4,15 +4,15 @@ Compiler for ARM processors.
|
||||
"
|
||||
HOMEPAGE="http://gcc.gnu.org"
|
||||
|
||||
SOURCE_URI="svn://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_8-branch"
|
||||
SOURCE_FILENAME="$portVersionedName.tar.gz"
|
||||
PATCHES="arm_none_eabi_gcc-$portVersion.patchset"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://ftpmirror.gnu.org/gcc/gcc-6.4.0/gcc-6.4.0.tar.xz"
|
||||
CHECKSUM_SHA256="850bf21eafdfe5cd5f6827148184c08c4a0852a37ccf36ce69855334d2c914d4"
|
||||
SOURCE_DIR="gcc-$portVersion"
|
||||
REVISION="1"
|
||||
LICENSE="
|
||||
GNU GPL v2
|
||||
GNU LGPL v2
|
||||
"
|
||||
COPYRIGHT="1988-2013 Free Software Foundation, Inc."
|
||||
COPYRIGHT="1988-2017 Free Software Foundation, Inc."
|
||||
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64 arm"
|
||||
@@ -91,7 +91,6 @@ BUILD()
|
||||
--docdir=$docDir --disable-nls --disable-libssp --with-gnu-ld \
|
||||
--enable-languages=c,c++ --enable-lto --enable-frame-pointer \
|
||||
--enable-multilib --disable-shared \
|
||||
--with-multilib-list=armv6-m,armv7-m,armv7e-m,armv7-r \
|
||||
--with-newlib --with-sysroot=$installDir \
|
||||
--with-native-system-header-dir=/include \
|
||||
--with-pkgversion=$(echo $portVersion | cut -c 7-) --target=$targetArch
|
||||
@@ -1,22 +0,0 @@
|
||||
From e0f435a01b68a41b06602dcf4b302d7ad7f3974f Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@gmail.com>
|
||||
Date: Fri, 5 Dec 2014 18:05:55 +0100
|
||||
Subject: Hardcoded -lm.
|
||||
|
||||
|
||||
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
|
||||
index 56b7baa..c9eedf6 100644
|
||||
--- a/gcc/Makefile.in
|
||||
+++ b/gcc/Makefile.in
|
||||
@@ -3969,7 +3969,7 @@ $(genprogerr:%=build/gen%$(build_exeext)): $(BUILD_ERRORS)
|
||||
genprog = $(genprogerr) check checksum condmd
|
||||
|
||||
# These programs need libs over and above what they get from the above list.
|
||||
-build/genautomata$(build_exeext) : BUILD_LIBS += -lm
|
||||
+#build/genautomata$(build_exeext) : BUILD_LIBS += -lm
|
||||
|
||||
# These programs are not linked with the MD reader.
|
||||
build/gengtype$(build_exeext) : build/gengtype-lex.o build/gengtype-parse.o \
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
@@ -4,19 +4,19 @@ Compiler for ARM processors.
|
||||
"
|
||||
HOMEPAGE="http://gcc.gnu.org"
|
||||
|
||||
SOURCE_URI="svn://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_8-branch"
|
||||
SOURCE_FILENAME="$portVersionedName.tar.gz"
|
||||
PATCHES="arm_none_eabi_gcc_nolibc-$portVersion.patchset"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://ftpmirror.gnu.org/gcc/gcc-6.4.0/gcc-6.4.0.tar.xz"
|
||||
CHECKSUM_SHA256="850bf21eafdfe5cd5f6827148184c08c4a0852a37ccf36ce69855334d2c914d4"
|
||||
SOURCE_DIR="gcc-$portVersion"
|
||||
REVISION="1"
|
||||
LICENSE="
|
||||
GNU GPL v2
|
||||
GNU LGPL v2
|
||||
"
|
||||
COPYRIGHT="1988-2013 Free Software Foundation, Inc."
|
||||
COPYRIGHT="1988-2017 Free Software Foundation, Inc."
|
||||
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64 ?arm"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
targetArch="arm-none-eabi"
|
||||
targetU="arm_none_eabi"
|
||||
@@ -93,7 +93,6 @@ BUILD()
|
||||
--docdir=$docDir --disable-nls --disable-libssp --with-gnu-ld \
|
||||
--enable-languages=c,c++ --enable-lto --enable-frame-pointer \
|
||||
--enable-multilib --disable-shared \
|
||||
--with-multilib-list=armv6-m,armv7-m,armv7e-m,armv7-r \
|
||||
--without-headers --with-newlib \
|
||||
--with-sysroot=$installDir \
|
||||
--with-native-system-header-dir=/include \
|
||||
@@ -1,22 +0,0 @@
|
||||
From e0f435a01b68a41b06602dcf4b302d7ad7f3974f Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@gmail.com>
|
||||
Date: Fri, 5 Dec 2014 18:05:55 +0100
|
||||
Subject: Hardcoded -lm.
|
||||
|
||||
|
||||
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
|
||||
index 56b7baa..c9eedf6 100644
|
||||
--- a/gcc/Makefile.in
|
||||
+++ b/gcc/Makefile.in
|
||||
@@ -3969,7 +3969,7 @@ $(genprogerr:%=build/gen%$(build_exeext)): $(BUILD_ERRORS)
|
||||
genprog = $(genprogerr) check checksum condmd
|
||||
|
||||
# These programs need libs over and above what they get from the above list.
|
||||
-build/genautomata$(build_exeext) : BUILD_LIBS += -lm
|
||||
+#build/genautomata$(build_exeext) : BUILD_LIBS += -lm
|
||||
|
||||
# These programs are not linked with the MD reader.
|
||||
build/gengtype$(build_exeext) : build/gengtype-lex.o build/gengtype-parse.o \
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user