robotpy / robotpy-cross-docker

Docker image used for compiling RobotPy for RoboRIO
1 stars 1 forks source link

Fix -pthread flag handling #5

Open virtuald opened 4 years ago

virtuald commented 4 years ago

Currently we have some hacks to set the LDSHARED/CC variables manually, but that's not really the right way to fix it. Seems like the configure script tries to autodetect -pthread by running a program... which naturally doesn't work. There's a flag for overriding the CC/LDSHARED setting, but not for CXX (which is what we actually care about!).

Filed a bug @ https://bugs.python.org/issue41916 and at https://github.com/benfogle/crossenv/issues/36