mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
disable MacPorts cctools modifications that use clang as assembler if a suitable clang is present. These assembler changes are not tested upstream for i386 builds, cause configuration issues that break the 32bit build, and cause innumerable assembler warnings about TEXT sections being deprecated by clang.
16 lines
968 B
Diff
16 lines
968 B
Diff
--- Makefile.in.orig 2021-07-05 21:24:36.000000000 -0700
|
|
+++ Makefile.in 2021-07-05 21:25:45.000000000 -0700
|
|
@@ -575,6 +575,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_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)
|