HP aCC (and a bunch of other compilers, no doubt) don't share
[oota-llvm.git] / Makefile.rules
index 33432b8cb514ebc99ccb22bc05f34772eb0d6c53..be173700ec089b950b2cad7defbe0da941802c92 100644 (file)
@@ -951,6 +951,11 @@ endif
 # Object Build Rules: Build object files based on sources 
 ###############################################################################
 
+# FIXME: This should be checking for "if not GCC or ICC", not for "if HP-UX"
+ifeq ($(OS),HP-UX)
+  DISABLE_AUTO_DEPENDENCIES=1
+endif
+
 # Provide rule sets for when dependency generation is enabled
 ifndef DISABLE_AUTO_DEPENDENCIES