remove the substitution, since it is (or should be) handled in configure

This commit is contained in:
Kalamatee 2021-01-21 05:58:24 +00:00 committed by deadwood
parent 8990a9709f
commit aab37b8f90
1 changed files with 2 additions and 13 deletions

View File

@ -1,16 +1,5 @@
# Fixup some things ...
ifeq ($(AROS_HOST_ARCH),darwin)
# We don't allow these includes/libdirs because doing so
# results in the wrong version of libiconv being used
# to link components. It has a different ABI from
# the system's libiconv, which causes conflicts/unresolved
# symbols.
HOST_CFLAGS := $(subst -I/usr/local/include,, $(subst -I/usr/local/include/,, $(subst -I/opt/local/include,, $(subst -I/opt/local/include/,, $(subst -I/opt/pkg/include,, $(subst -I/opt/pkg/include/,, $(HOST_CFLAGS)))))))
HOST_LDFLAGS := $(subst -L/usr/local/lib,, $(subst -L/usr/local/lib/,, $(subst -L/opt/local/lib,, $(subst -L/opt/local/lib/,, $(subst -L/opt/pkg/lib,, $(subst -L/opt/pkg/lib/,, $(HOST_LDFLAGS)))))))
endif
# Optional components
# Fixup some things for
# optional components
AROS_PREFS_SET := @config_prefs_set@