[X86] Put back the include path to the main X86 sources in the AsmParser library...
authorCraig Topper <craig.topper@gmail.com>
Fri, 25 Dec 2015 22:22:16 +0000 (22:22 +0000)
committerCraig Topper <craig.topper@gmail.com>
Fri, 25 Dec 2015 22:22:16 +0000 (22:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256430 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/AsmParser/Makefile

index fdd8245cfeb4ef1ba9b2c2a98d800490cd46f390..dcbdc78c9e0ca09f0b984a64cd6bf03daf3bd117 100644 (file)
@@ -9,4 +9,7 @@
 LEVEL = ../../../..
 LIBRARYNAME = LLVMX86AsmParser
 
 LEVEL = ../../../..
 LIBRARYNAME = LLVMX86AsmParser
 
+# Hack: we need to include 'main' ARM target directory to grab private headers
+CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
+
 include $(LEVEL)/Makefile.common
 include $(LEVEL)/Makefile.common