Switch darwin to use mkmf for dependencies.
The clang preprocessor doesn't understand -MF and we already have to use mkmf when building fat binaries anyway.
This commit is contained in:
@@ -97,10 +97,7 @@ vpath %.m $(USR_VPATH) $(ALL_SRC_DIRS)
|
||||
#--------------------------------------------------
|
||||
# Header dependency file generation
|
||||
#
|
||||
# Use compiler when ARCH_CLASS is a single arch value
|
||||
# otherwise use perl script command
|
||||
SINGLE_ARCH=$(filter 1,$(words $(ARCH_CLASS)))
|
||||
HDEPENDS_METHOD = $(if $(SINGLE_ARCH),COMP,MKMF)
|
||||
HDEPENDS_METHOD = MKMF
|
||||
|
||||
#--------------------------------------------------
|
||||
# Allow site overrides
|
||||
|
||||
@@ -91,10 +91,7 @@ vpath %.m $(USR_VPATH) $(ALL_SRC_DIRS)
|
||||
#
|
||||
# Header dependency file generation
|
||||
#
|
||||
# Use compiler when ARCH_CLASS is a single arch value
|
||||
# otherwise use perl script command
|
||||
SINGLE_ARCH=$(filter 1,$(words $(ARCH_CLASS)))
|
||||
HDEPENDS_METHOD = $(if $(SINGLE_ARCH),COMP,MKMF)
|
||||
HDEPENDS_METHOD = MKMF
|
||||
|
||||
#--------------------------------------------------
|
||||
# Allow site overrides
|
||||
|
||||
Reference in New Issue
Block a user