Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
f1044b1d
Commit
f1044b1d
authored
2 years ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
main/gcc: fix cross g++
fixes commit
9b8a9d76
(main/gcc: split libstdc++-dev)
parent
9f94d749
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main/gcc/APKBUILD
+8
-8
8 additions, 8 deletions
main/gcc/APKBUILD
with
8 additions
and
8 deletions
main/gcc/APKBUILD
+
8
−
8
View file @
f1044b1d
...
@@ -9,7 +9,7 @@ pkgver=12.1.1_git20220630
...
@@ -9,7 +9,7 @@ pkgver=12.1.1_git20220630
[
"
$CHOST
"
!=
"
$CTARGET
"
]
&&
_target
=
"-
$CTARGET_ARCH
"
||
_target
=
""
[
"
$CHOST
"
!=
"
$CTARGET
"
]
&&
_target
=
"-
$CTARGET_ARCH
"
||
_target
=
""
pkgname
=
"
$pkgname$_target
"
pkgname
=
"
$pkgname$_target
"
pkgrel
=
5
pkgrel
=
6
pkgdesc
=
"The GNU Compiler Collection"
pkgdesc
=
"The GNU Compiler Collection"
url
=
"https://gcc.gnu.org"
url
=
"https://gcc.gnu.org"
arch
=
"all"
arch
=
"all"
...
@@ -144,7 +144,7 @@ esac
...
@@ -144,7 +144,7 @@ esac
_languages
=
c
_languages
=
c
if
$LANG_CXX
;
then
if
$LANG_CXX
;
then
subpackages
=
"
$subpackages
libstdc++:libcxx:
$CTARGET_ARCH
libstdc++-dev:libcxx_dev
:
$CTARGET_ARCH
g++
$_target
:gpp"
subpackages
=
"
$subpackages
libstdc++:libcxx:
$CTARGET_ARCH
libstdc++-dev
$_target
:libcxx_dev g++
$_target
:gpp"
_languages
=
"
$_languages
,c++"
_languages
=
"
$_languages
,c++"
fi
fi
if
$LANG_D
;
then
if
$LANG_D
;
then
...
@@ -537,16 +537,16 @@ libcxx_dev() {
...
@@ -537,16 +537,16 @@ libcxx_dev() {
depends
=
depends
=
replaces
=
"g++"
replaces
=
"g++"
amove usr/lib/libstdc++.a
\
amove usr/
${
_target
:+
$CTARGET
/
}
lib/libstdc++.a
\
usr/lib/libstdc++.so
\
usr/
${
_target
:+
$CTARGET
/
}
lib/libstdc++.so
\
usr/lib/libstdc++fs.a
\
usr/
${
_target
:+
$CTARGET
/
}
lib/libstdc++fs.a
\
usr/lib/libsupc++.a
\
usr/
${
_target
:+
$CTARGET
/
}
lib/libsupc++.a
\
usr/include/c++
usr/
${
_target
:+
$CTARGET
/
}
include/c++
}
}
gpp
()
{
gpp
()
{
pkgdesc
=
"GNU C++ standard library and compiler"
pkgdesc
=
"GNU C++ standard library and compiler"
depends
=
"libstdc++=
$_gccrel
libstdc++-dev=
$_gccrel
gcc=
$_gccrel
libc-dev"
depends
=
"libstdc++=
$_gccrel
libstdc++-dev
$_target
=
$_gccrel
gcc
$_target
=
$_gccrel
libc-dev"
mkdir
-p
"
$subpkgdir
/
$_gcclibexec
"
\
mkdir
-p
"
$subpkgdir
/
$_gcclibexec
"
\
"
$subpkgdir
"
/usr/bin
\
"
$subpkgdir
"
/usr/bin
\
"
$subpkgdir
"
/usr/
${
_target
:+
$CTARGET
/
}
include
\
"
$subpkgdir
"
/usr/
${
_target
:+
$CTARGET
/
}
include
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment