HP aCC (and a bunch of other compilers, no doubt) don't share
authorDuraid Madina <duraid@octopus.com.au>
Wed, 15 Feb 2006 03:23:26 +0000 (03:23 +0000)
committerDuraid Madina <duraid@octopus.com.au>
Wed, 15 Feb 2006 03:23:26 +0000 (03:23 +0000)
GCC's syntax for auto-dependency generation stuff. This should
be changed to be disabling dependency stuff unless GCC/ICC is
found.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26201 91177308-0d34-0410-b5e6-96231b3b80d8

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