[Buildroot] [PATCH 04/11] elftosb: fix build forcing g++ compiler
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Jul 22 17:20:37 UTC 2012
Le Sun, 22 Jul 2012 15:28:32 +0200,
Samuel Martin <s.martin49 at gmail.com> a écrit :
> + .c.o :
> +- gcc ${CFLAGS} -c $<
> ++ $(CXX) ${CXXFLAGS} -c $<
It should be $(CC) here, no?
> + %.d: %.c
> + @set -e; \
> +- $(CC) -MM $(CFLAGS) $< | \
> ++ $(CXX) -MM $(CXXFLAGS) $< | \
And it should remain $(CC) here, no?
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list