You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to cross-compile servo on a windows host, I noticed that the mozjstry_compile configure checks don't pass any flags from TARGET_CFLAGS or TARGET_CXXFLAGS, which in my case contain the sysroot. With the sysroot flag missing one of the try_compile checks fails, since it can't find a header file (features.h). I'm not sure why I don't experience this on my Linux machine - perhaps the compiler falls back to the host sysroot (which would also be wrong).
The text was updated successfully, but these errors were encountered:
jschwe
changed the title
try_compile does not pass TARGET_CFLAGS
try_compile does not respect TARGET_CFLAGSJul 4, 2024
While trying to cross-compile
servo
on a windows host, I noticed that themozjs
try_compile configure checks don't pass any flags fromTARGET_CFLAGS
orTARGET_CXXFLAGS
, which in my case contain the sysroot. With the sysroot flag missing one of thetry_compile
checks fails, since it can't find a header file (features.h). I'm not sure why I don't experience this on my Linux machine - perhaps the compiler falls back to the host sysroot (which would also be wrong).The text was updated successfully, but these errors were encountered: