aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-12-10 06:23:32 -0500
committerGene Cumm <gene.cumm@gmail.com>2015-12-10 06:35:49 -0500
commitec4f43dcda3cace9ba035c775d792389ce2a454c (patch)
tree1df08790a211d42df420c27d7f9607f9e83a2620
parentdc89161d7838eef43b07a073a81ceafa2e372dcc (diff)
downloadsyslinux-ec4f43dcda3cace9ba035c775d792389ce2a454c.tar.gz
syslinux-ec4f43dcda3cace9ba035c775d792389ce2a454c.tar.xz
syslinux-ec4f43dcda3cace9ba035c775d792389ce2a454c.zip
Dont bypass compiler driver for Dependency generation options
We can let compiler driver pass the right options to preprocessor after processing -Mxy options, right now its bypassing the gcc driver and handing them straight to cpp This also helps in other compilers processing these options correctly for their preprocessors consumption Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--mk/syslinux.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/syslinux.mk b/mk/syslinux.mk
index 337560bb..9ca74b1d 100644
--- a/mk/syslinux.mk
+++ b/mk/syslinux.mk
@@ -82,11 +82,11 @@ ARCH ?= $(strip $(SUBARCH))
GCCWARN = -W -Wall -Wstrict-prototypes $(DEBUGOPT)
# Common stanza to make gcc generate .*.d dependency files
-MAKEDEPS = -Wp,-MT,$@,-MD,$(dir $@).$(notdir $@).d
+MAKEDEPS = -MT $@ -MD
# Dependencies that exclude system headers; use whenever we use
# header files from the platform.
-UMAKEDEPS = -Wp,-MT,$@,-MMD,$(dir $@).$(notdir $@).d
+UMAKEDEPS = -MT $@ -MMD
# Items that are only appropriate during development; this file is
# removed when tarballs are generated.