xlib_libX11: fix compilation of makekeys
authorArnout Vandecappelle <arnout@mind.be>
Sun, 4 Nov 2012 01:30:06 +0000 (01:30 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 9 Nov 2012 07:12:31 +0000 (08:12 +0100)
commitfc73d4d262bd9c1ba6f6874f93513d9ca56a1ddb
treea5d842ff8078a173b932f9dc0a66991009c3bb9a
parent35b7560a1bf9bc3a46ff9d3942fb38bc51c6e378
xlib_libX11: fix compilation of makekeys

xlib_libX11 builds a makekeys executable for the host, but uses the
targets X11_CFLAGS. This leads to build failures like
http://autobuild.buildroot.net/results/411eb3aefea859a7e31986a44acd50b475f174cb/

This problem was introduced by the version bump, because then also
the AUTORECONF was removed so the existing fix didn't work anymore.

As a slightly cleaner solution, just remove X11_CFLAGS from the
Makefile.  We know we don't need it, because the X11 stuff is in
$(HOST_DIR)/usr/include which is already in HOST_CFLAGS.

[Peter: reword comments]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/x11r7/xlib_libX11/xlib_libX11.mk