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:
Andrew Johnson
2012-07-27 18:39:15 -05:00
parent 72ddb72ade
commit 80da40b32f
2 changed files with 2 additions and 8 deletions

View File

@@ -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

View File

@@ -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