summaryrefslogtreecommitdiff
path: root/package/x11r7/xfont_font-misc-misc/xfont_font-misc-misc.mk
diff options
context:
space:
mode:
authorDanomi Manchego <danomimanchego123@gmail.com>2012-08-14 21:25:30 -0400
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-08-26 11:18:34 +0200
commitbc753d3ca243bcda35d567465ee649ecee3ef236 (patch)
treebf86cccea655a68284633f5461965012c29ddec7 /package/x11r7/xfont_font-misc-misc/xfont_font-misc-misc.mk
parent9241fb6794cae1cad66d83ac3dfcfe243bc5566b (diff)
luajit: bug fix - prevent target CFLAGS from being used in host tool compile.
The luajit amalgamation compile starts with building a host tool, and then uses it to build itself.  However, when CFLAGS is specified, as opposed to TARGET_CFLAGS, then it is used for both HOST and TARGET builds.  So if you add something target specific into 'Target Optimizations' (for example, '-mfpu=neon -mfloat-abi=softfp' for ARM Cortex-A8), then it gets into the host tool compile, which then fails (because my build machine is not an ARM Cortext-A8).  This can be fixed by using TARGET_CFLAGS and TARGET_LDFLAGS, instead of CFLAGS and LDFLAGS, respectively. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/x11r7/xfont_font-misc-misc/xfont_font-misc-misc.mk')
0 files changed, 0 insertions, 0 deletions