add -isystem to avoid system headers in .d files (does not work for vxWorks 5)

This commit is contained in:
2018-10-03 13:48:09 +02:00
parent 4e44550f62
commit 146a413977
+1
View File
@@ -101,6 +101,7 @@ VX_DIR = $(VX_DIR_$(VXWORKS_MAJOR_VERSION))
VX_INCLUDE_DIRS_5 = $(VX_DIR)/target/h
VX_INCLUDE_DIRS_6 = $(VX_DIR)/target/h $(VX_DIR)/target/h/wrn/coreip
GNU_TARGET_INCLUDE_DIR = $(VX_INCLUDE_DIRS_$(VXWORKS_MAJOR_VERSION))
TARGET_CPPFLAGS = -isystem $(VX_DIR)/target/h
#--------------------------------------------------
# vxWorks GNU directories