Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor-browser-build
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
tor-browser-build
Commits
e53ab0d3
Commit
e53ab0d3
authored
Feb 20, 2024
by
NoisyCoil
Browse files
Options
Downloads
Patches
Plain Diff
Bug 41137: Define distdir and filename for cross-binutils
parent
9c8ed4d1
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!963
Bug 41137: Build gcc-cross and tor-expert-bundle for linux-aarch64
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
projects/binutils/build
+2
-2
2 additions, 2 deletions
projects/binutils/build
projects/binutils/config
+3
-1
3 additions, 1 deletion
projects/binutils/config
with
5 additions
and
3 deletions
projects/binutils/build
+
2
−
2
View file @
e53ab0d3
#!/bin/bash
[
%
c
(
"
var/set_default_env
"
)
-%
]
mkdir
/
var
/
tmp
/
dist
distdir
=/
var
/
tmp
/
dist
/
binutils
distdir
=/
var
/
tmp
/
dist
/
[
%
c
(
"
var/distdir
"
)
%
]
[
%
IF
c
(
"
var/linux
"
);
GET
c
(
"
var/set_hardened_build_flags
"
);
END
%
]
tar
xf
[
%
project
%
]
-
[
%
c
(
"
version
"
)
%
].
tar
.
xz
...
...
@@ -15,6 +15,6 @@ make install MAKEINFO=true
cd
/
var
/
tmp
/
dist
[
%
c
(
'
tar
'
,
{
tar_src
=>
[
project
],
tar_src
=>
[
c
(
'
var/distdir
'
)
],
tar_args
=>
'
-caf
'
_
dest_dir
_
'
/
'
_
c
(
'
filename
'
),
})
%
]
This diff is collapsed.
Click to expand it.
projects/binutils/config
+
3
−
1
View file @
e53ab0d3
# vim: filetype=yaml sw=2
version
:
2.39
filename
:
'
[%
project
%]-[%
c("version")
%]-[%
c("var/build_id")
%].tar.[%
c("compress_tar")
%]'
filename
:
'
[%
project
%]-[%
c("version")
%]-[%
IF
c("var/linux-cross")
%]cross-[%
c("arch")
%]-[%
END
%][%
c("var/build_id")
%].tar.[%
c("compress_tar")
%]'
container
:
use_container
:
1
var
:
distdir
:
binutils
configure_opt
:
'
--disable-multilib
--enable-gold
--enable-deterministic-archives
--enable-plugins'
targets
:
...
...
@@ -12,6 +13,7 @@ targets:
configure_opt
:
'
--target=[%
c("arch")
%]-w64-mingw32
--disable-multilib
--enable-deterministic-archives'
linux-cross
:
var
:
distdir
:
'
binutils-cross-[%
c("arch")
%]'
# gold is disabled on cross-compiles until we upgrade to glibc 2.26 and
# binutils 2.28
configure_opt
:
'
--target=[%
c("var/crosstarget")
%]
--disable-multilib
--enable-deterministic-archives
--enable-plugins'
...
...
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
sign in
to comment