CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
ports
/
core-arm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prt-get: fixed maintainer line in Pkgfile and bumped release to sync with armhf
[ports/core-arm.git]
/
gcc
/
Pkgfile
diff --git
a/gcc/Pkgfile
b/gcc/Pkgfile
index 10cacd6321beca9ec0f55fe8b654d53660bb6ad3..f4fa756f9c4c0d867b5269e817e15b5349d55cdf 100644
(file)
--- a/
gcc/Pkgfile
+++ b/
gcc/Pkgfile
@@
-11,11
+11,13
@@
source=(http://ftp.gnu.org/gnu/gcc/$name-$version/$name-{core,g++,objc}-$version
$name-nocheck-fixincludes.patch $name-$version-preprocessor_symbol.patch)
build() {
$name-nocheck-fixincludes.patch $name-$version-preprocessor_symbol.patch)
build() {
- patch -
p0
-i $SRC/$name-$version-preprocessor_symbol.patch
+ patch -
d $name-$version -p1
-i $SRC/$name-$version-preprocessor_symbol.patch
patch -d $name-$version -p1 -i $SRC/$name-nocheck-fixincludes.patch
patch -d $name-$version -p1 -i $SRC/$name-nocheck-fixincludes.patch
+
mkdir build
cd build
../$name-$version/configure --prefix=/usr \
mkdir build
cd build
../$name-$version/configure --prefix=/usr \
+ --build=arm-crux-linux-gnueabi \
--mandir=/usr/man \
--libexecdir=/usr/lib \
--enable-languages=c,c++,objc \
--mandir=/usr/man \
--libexecdir=/usr/lib \
--enable-languages=c,c++,objc \
@@
-27,6
+29,7
@@
build() {
--with-x=no \
--with-system-zlib \
--with-pkgversion="CRUX"
--with-x=no \
--with-system-zlib \
--with-pkgversion="CRUX"
+
make bootstrap
make -j1 DESTDIR=$PKG install
make bootstrap
make -j1 DESTDIR=$PKG install