diff --git Makefile.in Makefile.in
index b824e0a0ca1..f4c9891826d 100644
--- Makefile.in
+++ Makefile.in
@@ -597,6 +597,12 @@ all:
 @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_libmpx)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_liboffloadmic)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
