Applied, thanks! On Thu, Dec 24, 2009 at 09:17:32AM +0100, Wolfram Sang wrote: > - don't overwrite CFLAGS, just append > - use CPPFLAGS > > Those were needed to compile the package with PTXdist and is most probably > needed for other build-systems as well. > > Signed-off-by: Marc Kleine-Budde <m...@pengutronix.de> > Signed-off-by: Wolfram Sang <w.s...@pengutronix.de> > --- > Makefile | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Makefile b/Makefile > index 11d0382..f4acfb3 100644 > --- a/Makefile > +++ b/Makefile > @@ -126,7 +126,7 @@ WARNINGS += $(call cc-supports,-Wno-pointer-sign) > WARNINGS += $(call cc-supports,-Wdeclaration-after-statement) > WARNINGS += -Wshadow > > -CFLAGS := -pipe -DPCMCIAUTILS_VERSION=\"$(VERSION)\" > +CFLAGS += -pipe -DPCMCIAUTILS_VERSION=\"$(VERSION)\" > YFLAGS := -d > > HEADERS = \ > @@ -218,7 +218,7 @@ build/ccdv: build/ccdv.c > @$(HOSTCC) -O1 $< -o $@ > > %.o : %.c ccdv > - $(QUIET) $(CC) $(CFLAGS) -c -o $@ $< > + $(QUIET) $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< > > %.c %.h : %.y > $(YACC) $(YFLAGS) $< > -- > 1.6.3.3 > > > _______________________________________________ > Linux PCMCIA reimplementation list > http://lists.infradead.org/mailman/listinfo/linux-pcmcia
_______________________________________________ Linux PCMCIA reimplementation list http://lists.infradead.org/mailman/listinfo/linux-pcmcia