Skip to content

Commit

Permalink
Dont bypass compiler driver for Dependency generation options
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
kraj authored and geneC committed Dec 10, 2015
1 parent dc89161 commit ec4f43d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mk/syslinux.mk
Expand Up @@ -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.
Expand Down

0 comments on commit ec4f43d

Please sign in to comment.