gpm: fix build on Microblaze due to ELF check
PATCH 1/1 gpm: fix build on Microblaze due to ELF check
Fixes:
http://autobuild.buildroot.org/results/19d/19d93324caac8b4aad7abfe7b6c3d85612636368/
Signed-off-by Thomas Petazzoni <[email protected]>
--- package/gpm/gpm.mk | 8 ++++++++ 1 file changed, 8 insertions(+)
package/gpm/gpm.mk +8 -0
@@ -17,6 +17,14 @@ GPM_DEPENDENCIES = host-bison # built. CPPFLAGS is used to pass the right include path to dependency rules. GPM_CONF_ENV = CPPFLAGS="$(TARGET_CPPFLAGS) -I$(@D)/src/headers/" +# For some reason, Microblaze gcc does not define __ELF__, which gpm +# configure script uses to determine whether the architecture uses ELF +# binaries and therefore can build shared libraries. We fix this by +# telling GPM that ELF is used on Microblaze. +ifeq ($(BR2_microblaze),y) +GPM_CONF_ENV += itz_cv_sys_elf=yes +endif + # gpm and ncurses have a circular dependency. As gpm function GPM_Wgetch() # (requiring ncurses) is not recommended for use by ncurses people themselves # and as it's better to have gpm support in ncurses that the contrary, we force
Signature · 1 line
1.9.3
PATCH 1/1 gpm: fix build on Microblaze due to ELF check
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Fixes:
http://autobuild.buildroot.org/results/19d/19d93324caac8b4aad7abfe7b6c3d85612636368/Signed-off-by Thomas Petazzoni <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard