--- Makefile.in.orig 2024-04-14 20:45:02.000000000 -0500 +++ Makefile.in 2024-04-14 20:45:03.000000000 -0500 @@ -656,6 +656,12 @@ @host_makefile_frag@ ### +# override MacPorts cctools modifications to allow standard gas assembler to be used +HOST_EXPORTS += export DISABLE_MACPORTS_AS_CLANG_SEARCH=1; +HOST_EXPORTS += export DISABLE_XCODE_AS_CLANG_SEARCH=1; +POSTSTAGE1_HOST_EXPORTS += export DISABLE_MACPORTS_AS_CLANG_SEARCH=1; +POSTSTAGE1_HOST_EXPORTS += export DISABLE_XCODE_AS_CLANG_SEARCH=1; + # This is the list of directories that may be needed in RPATH_ENVVAR # so that programs built for the target machine work. TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_liboffloadmic)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libphobos)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)