Message ID | 20190318092058.5531-1-palmer@sifive.com |
---|---|
State | Superseded |
Headers | show |
On Mär 18 2019, Palmer Dabbelt <palmer@sifive.com> wrote: > diff --git a/Makerules b/Makerules > index 83bdd3a44d0d..a81395b4b62e 100644 > --- a/Makerules > +++ b/Makerules > @@ -1423,7 +1423,7 @@ $(stdio_lim:h=st): $(..)stdio-common/stdio_lim.h.in $(..)Rules \ > { echo '#include "$(..)posix/bits/posix1_lim.h"'; \ > } | \ > $(CC) -E -dM -MD -MP -MF $(@:st=dT) -MT '$(@:st=h) $(@:st=d)' \ > - $(CPPUNDEFS) $(+includes) -xc - -o $(@:st=hT) > + $(CPPUNDEFS) $(CPPFLAGS) $(+includes) -xc - -o $(@:st=hT) CPPFLAGS already includes $(CPPUNDEFS), so there is no need to use both. Andreas.
diff --git a/Makerules b/Makerules index 83bdd3a44d0d..a81395b4b62e 100644 --- a/Makerules +++ b/Makerules @@ -1423,7 +1423,7 @@ $(stdio_lim:h=st): $(..)stdio-common/stdio_lim.h.in $(..)Rules \ { echo '#include "$(..)posix/bits/posix1_lim.h"'; \ } | \ $(CC) -E -dM -MD -MP -MF $(@:st=dT) -MT '$(@:st=h) $(@:st=d)' \ - $(CPPUNDEFS) $(+includes) -xc - -o $(@:st=hT) + $(CPPUNDEFS) $(CPPFLAGS) $(+includes) -xc - -o $(@:st=hT) sed $(sed-remove-objpfx) $(sed-remove-dotdot) \ $(@:st=dT) > $(@:st=dt) mv -f $(@:st=dt) $(@:st=d)