Skip to content

Commit

Permalink
Makefile: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pipcet committed Jan 26, 2021
1 parent ffbd028 commit 046f3f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -404,16 +404,22 @@ built/wasm32/zsh: | install/gettext

github/install/autopoint: | github/install
tools/bin/locked --lockfile apt.lock sudo apt-get install autopoint

github/install/gperf: | github/install
tools/bin/locked --lockfile apt.lock sudo apt-get install gperf

github/install/binfmt_misc: | github/install
$(MKDIR) $@

github/install/binfmt_misc/elf32-wasm32: | github/install github/install/binfmt_misc
sudo mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc || true
echo ':elf32-wasm32:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x57\x41:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:'"$(PWD)/tools/bin/elf32-wasm32"':' | sudo tee /proc/sys/fs/binfmt_misc/register
touch $@

github/install/binfmt_misc/wasm: | github/install github/install/binfmt_misc
sudo mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc || true
echo ':wasm:M::\x00asm\x01\x00\x00\x00:\xff\xff\xff\xff\xff\xff\xff\xff:'"$(PWD)/tools/bin/wasm"':' | sudo tee /proc/sys/fs/binfmt_misc/register
touch $@

ifeq (${GITHUB},1)
install/%: github/install/%
Expand Down

0 comments on commit 046f3f0

Please sign in to comment.