Pro / raspi-toolchain

169 stars 40 forks source link

Dockerfile: manualy set LIMITS_H_TEST=true to fix limits.h include order #12

Closed bernhard-guillon-copadata closed 3 years ago

bernhard-guillon-copadata commented 3 years ago

This patch is taken from chromium.org

https://src.chromium.org/viewvc/native_client/trunk/src/native_client/toolchain_build/toolchain_build.py?r1=10387&r2=10386&pathrev=10387

Original patch description:

gcc/Makefile's install rules ordinarily look at the installed include directory for a limits.h to decide whether the lib/gcc/.../include-fixed/limits.h header should be made to expect a libc-supplied limits.h or not. Since we're doing this build in a clean environment without any libc installed, we need to force its hand here.