Do not use 'cpp' directly
authorChris Lattner <sabre@nondot.org>
Tue, 29 Jul 2003 23:04:41 +0000 (23:04 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 29 Jul 2003 23:04:41 +0000 (23:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7404 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/Makefile

index 2ecca3c898a72e0cd7fa91f5e1fabe67d43ce947..f48f0cd6e9c9d3a39e8e17b5beff9f9f1209b245 100644 (file)
@@ -45,7 +45,7 @@ SparcV9CodeEmitter.cpp: SparcV9CodeEmitter.inc
 
 SparcV9CodeEmitter.inc: SparcV9.td SparcV9_F2.td SparcV9_F3.td SparcV9_F4.td SparcV9_Reg.td $(TBLGEN)
        @${ECHO} "TableGen-erating $@"
-       cpp -P SparcV9.td | $(TBLGEN) -gen-emitter -o $@
+       $(CC) -E -xc -P SparcV9.td | $(TBLGEN) -gen-emitter -o $@
 
 clean::
        ${RM} -f SparcV9CodeEmitter.inc