stormalf / chibicc

A small C compiler from rui314
MIT License
6 stars 1 forks source link

ISS-147 compiling util-linux failed with undefined variable #35

Closed stormalf closed 1 year ago

stormalf commented 1 year ago

ISS-147 compiling util-linux failed with undefined variable CC misc-utils/enosys-enosys.o misc-utils/enosys.c:40: #define IS_LITTLE_ENDIAN (__BYTE_ORDER == ORDER_LITTLE_ENDIAN__) ^ parse.c: in primary : error: undefined variable make[2]: *** [Makefile:12238: misc-utils/enosys-enosys.o] Error 1

stormalf commented 1 year ago

For now I'll add the build-in macros with values for Linux plateform only.