sysprog21 / shecc

A self-hosting and educational C optimizing compiler
BSD 2-Clause "Simplified" License
1.11k stars 118 forks source link

Refine Makefile on error handling for ARM32 architecture detection #101

Closed idoleat closed 9 months ago

idoleat commented 9 months ago

With the original Makefile, the host without arch in PATH gets "make: arch: No such file or directory" printed everytime while making, regardless which target is choosed. The 2>/dev/null is added for suppressing the error message.

jserv commented 9 months ago

Thank @idoleat for contribution!