Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cookbook
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
cookbook
Commits
30eaa01b
Verified
Commit
30eaa01b
authored
6 years ago
by
Jeremy Soller
Browse files
Options
Downloads
Patches
Plain Diff
Fix glutin and winit compilation
parent
20accfbf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
recipes/glutin/recipe.sh
+15
-1
15 additions, 1 deletion
recipes/glutin/recipe.sh
recipes/winit/recipe.sh
+1
-1
1 addition, 1 deletion
recipes/winit/recipe.sh
with
16 additions
and
2 deletions
recipes/glutin/recipe.sh
+
15
−
1
View file @
30eaa01b
GIT
=
https://gitlab.redox-os.org/redox-os/glutin.git
GIT
=
https://gitlab.redox-os.org/redox-os/glutin.git
GIT_UPSTREAM
=
https://github.com/tomaka/glutin.git
GIT_UPSTREAM
=
https://github.com/tomaka/glutin.git
GIT_BRANCH
=
redox
BUILD_DEPENDS
=(
mesa
)
BRANCH
=
redox
CARGOFLAGS
=
"--example window"
CARGOFLAGS
=
"--example window"
function
recipe_build
{
sysroot
=
"
$(
realpath
../sysroot
)
"
cp
-p
"
$ROOT
/Xargo.toml"
"Xargo.toml"
xargo rustc
--target
"
$TARGET
"
--release
${
CARGOFLAGS
}
\
--
\
-L
"
${
sysroot
}
/lib"
\
-l
OSMesa
\
-l
glapi
\
-l
pthread
\
-l
stdc++
skip
=
1
}
This diff is collapsed.
Click to expand it.
recipes/winit/recipe.sh
+
1
−
1
View file @
30eaa01b
GIT
=
https://gitlab.redox-os.org/redox-os/winit.git
GIT
=
https://gitlab.redox-os.org/redox-os/winit.git
GIT_UPSTREAM
=
https://github.com/tomaka/winit.git
GIT_UPSTREAM
=
https://github.com/tomaka/winit.git
GIT_
BRANCH
=
redox
BRANCH
=
redox
CARGOFLAGS
=
"--example window"
CARGOFLAGS
=
"--example window"
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