Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
647
Issues
647
List
Boards
Labels
Service Desk
Milestones
Merge Requests
172
Merge Requests
172
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
37b4b828
Commit
37b4b828
authored
Dec 16, 2009
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/gcc: upgrade to 4.4.2
enable TLS while here
parent
4c530a9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
18 deletions
+20
-18
main/gcc/APKBUILD
main/gcc/APKBUILD
+20
-18
No files found.
main/gcc/APKBUILD
View file @
37b4b828
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
gcc
pkgver
=
4.4.
1
_specsver
=
0.1.
4
_espfver
=
0.3.
1
pkgrel
=
3
pkgver
=
4.4.
2
_specsver
=
0.1.
7
_espfver
=
0.3.
5
pkgrel
=
0
pkgdesc
=
"The GNU Compiler Collection"
url
=
"http://gcc.gnu.org"
license
=
"GPL LGPL"
...
...
@@ -15,20 +15,13 @@ source="ftp://gcc.gnu.org/pub/gcc/releases/gcc-$pkgver/gcc-core-$pkgver.tar.bz2
http://weaver.gentooenterprise.com/hardened/patches/gcc-
$pkgver
-espf-
$_espfver
.tar.bz2
http://weaver.gentooenterprise.com/hardened/patches/gcc-
$pkgver
-specs-
$_specsver
.tar.bz2
gcc-spec-env.patch
gcc4-stack-protector-uclibc-no_tls.patch
pt_gnu_eh_frame.patch
uclibc-getipinfo.patch
"
# ftp://gcc.gnu.org/pub/gcc/releases/gcc-$pkgver/gcc-objc-$pkgver.tar.bz2
build
()
{
cd
${
srcdir
}
/gcc-
${
pkgver
}
# uclibc patches
for
i
in
../
*
.patch
;
do
msg
"Applying
$i
"
patch
-p1
-i
$i
||
return
1
done
cd
"
$srcdir
"
/gcc-
$pkgver
# ESPF patches. we dont use objc yet
rm
-f
../espf-gcc-
$pkgver
/
*
_objc
*
lang-specs
*
.patch
...
...
@@ -38,6 +31,12 @@ build ()
patch
-p0
-i
$i
||
return
1
done
# uclibc patches
for
i
in
../
*
.patch
;
do
msg
"Applying
$i
"
patch
-p1
-i
$i
||
return
1
done
echo
${
pkgver
}
>
gcc/BASE-VER
mkdir
build
cd
build
...
...
@@ -53,7 +52,6 @@ build ()
--disable-multilib
\
--disable-nls
\
--disable-threads
\
--disable-tls
\
--disable-werror
\
--enable-__cxa_atexit
\
--enable-cld
\
...
...
@@ -61,11 +59,16 @@ build ()
--enable-languages
=
c,c++
\
--enable-shared
\
--enable-target-optspace
\
--enable-tls
\
--with-arch
=
i486
\
--with-system-zlib
\
--without-system-libunwind
make
||
return
1
}
package
()
{
cd
"
$srcdir
"
/gcc-
$pkgver
/build
make
-j1
DESTDIR
=
"
${
pkgdir
}
"
install
||
return
1
ln
-s
gcc
"
$pkgdir
"
/usr/bin/cc
...
...
@@ -117,11 +120,10 @@ libgomp() {
mv
"
$pkgdir
"
/usr/lib/libgomp.so
*
"
$subpkgdir
"
/usr/lib/
}
md5sums
=
"d
19693308aa6b2052e14c071111df59f gcc-core-4.4.1
.tar.bz2
d449047b5761348ceec23739f5553e0b gcc-g++-4.4.1
.tar.bz2
43d0bbd676bbb2acd67ddabd0ea1bc2b gcc-4.4.1-espf-0.3.1
.tar.bz2
da8d9165e828bbb9809ef86f1c72886f gcc-4.4.1-specs-0.1.4
.tar.bz2
md5sums
=
"d
50ec5af20508974411d0c83c5f4e396 gcc-core-4.4.2
.tar.bz2
43b1e4879eb282dc4b05e4c016d356d7 gcc-g++-4.4.2
.tar.bz2
d41944c1ee65edcf88e8728404bca32f gcc-4.4.2-espf-0.3.5
.tar.bz2
528926b586b2591474b6c2a7ef8ee6d7 gcc-4.4.2-specs-0.1.7
.tar.bz2
c4045bfa85d8be780affd465be9d8ca8 gcc-spec-env.patch
15e77082db0e1a131af98debd3016290 gcc4-stack-protector-uclibc-no_tls.patch
2db1e3482c5dd59dab70f701afa2ca80 pt_gnu_eh_frame.patch
6cc2385c5bbd6d0da6eaedd53c8bf547 uclibc-getipinfo.patch"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment