[X86] Put back the include path to the main X86 sources in the AsmParser library...
[oota-llvm.git] / lib / Target / X86 / AsmParser / Makefile
index fdd8245cfeb4ef1ba9b2c2a98d800490cd46f390..dcbdc78c9e0ca09f0b984a64cd6bf03daf3bd117 100644 (file)
@@ -9,4 +9,7 @@
 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