Changes in directory llvm-test:

Makefile.rules updated: 1.19 -> 1.20
---
Log message:

Only add the path to LLVMGCC and LLVMGXX variables if its version 3.
Version 4 doesn't need the path set.


---
Diffs of the changes:  (+2 -0)

 Makefile.rules |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm-test/Makefile.rules
diff -u llvm-test/Makefile.rules:1.19 llvm-test/Makefile.rules:1.20
--- llvm-test/Makefile.rules:1.19       Sun Dec  3 15:15:49 2006
+++ llvm-test/Makefile.rules    Fri Dec  8 11:11:37 2006
@@ -259,8 +259,10 @@
 #--------------------------------------------------------------------------
 # The LLVM GCC front-end in C and C++ flavors
 #
+ifeq ($(LLVMGCC_MAJVERS),3)
 LLVMGCC := PATH="$(LLVMTOOLCURRENT):$(PATH)" $(LLVMGCC)
 LLVMGXX := PATH="$(LLVMTOOLCURRENT):$(PATH)" $(LLVMGXX)
+endif
 
 #--------------------------------------------------------------------------
 # The compiled LLVM tools



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to