The function get_multiarch() calls gcc using subprocess. gcc is hard coded, and does not check the CXX env variable. This breaks a lot of build environments, including conda-smithy which uses prefixed gcc executable, and sets CXX to the correct location. This will also break cross compilers that use prefixes.
|
output = subprocess.check_output(['gcc', '-print-multiarch']) |
The function
get_multiarch()calls gcc using subprocess.gccis hard coded, and does not check theCXXenv variable. This breaks a lot of build environments, including conda-smithy which uses prefixed gcc executable, and setsCXXto the correct location. This will also break cross compilers that use prefixes.colcon-ros/colcon_ros/task/cmake/__init__.py
Line 46 in eb0b932