From 197ab8787f2630051e66a46c636b6015bec2de0e Mon Sep 17 00:00:00 2001 From: Duraid Madina Date: Wed, 15 Feb 2006 03:23:26 +0000 Subject: HP aCC (and a bunch of other compilers, no doubt) don't share 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 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile.rules') diff --git a/Makefile.rules b/Makefile.rules index 33432b8cb5..be173700ec 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -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 -- cgit v1.2.3