Closed taylon closed 4 years ago
Hi @taylon , thanks a lot for contributing this fix!
Many folks using ArchLinux will enjoy using Vim, so I think that having Oni2 building in ArchLinux might be important for the project :)
Definitely 😎 Appreciate you diving to this level to get it working! A couple questions inline, but the overall approach looks good and it builds everywhere.
Alright, so I investigated further and noticed that other people were having issues in Arch for other reasons too like https://github.com/onivim/oni2/issues/1778
So I figured that the initial issue was actually because I was running dash
in my system by default and that was causing issues when generating the Makefile, so I added CONFIG_SHELL=bash
to prevent that issue.
Then the other issue reported is because of gcc 10 (which is the default in Arch) which sets the -fno-common option by default and that makes the build fail as well...
So with both fixes we can build on Arch and Ubuntu just fine :)
So with both fixes we can build on Arch and Ubuntu just fine :)
Awesome! Thanks for your work on this @taylon - looks great 👍
Appreciate the details too on both the issues hit (the shell issue, and gcc 10).
Thanks for thinking in Arch <3
Hi,
I finally found some time to try and fix #12 which is an issue that breaks the build in ArchLinux.
Many folks using ArchLinux will enjoy using Vim, so I think that having Oni2 building in ArchLinux might be important for the project :)
I didn't have time to try to setup an Arch build in azure pipelines, but I can try that next week