screen: fix build when libelf is enabled
screen's configure script thinks it is running on a SVR4 system when it detects libelf, breaking the build. At the same time cleanup the package somewhat, and ensure the correct CFLAGS are used. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
9eee902c01
commit
5fadbb58ab
@ -7,8 +7,8 @@
|
|||||||
SCREEN_VERSION = 4.0.3
|
SCREEN_VERSION = 4.0.3
|
||||||
SCREEN_SITE = $(BR2_GNU_MIRROR)/screen
|
SCREEN_SITE = $(BR2_GNU_MIRROR)/screen
|
||||||
SCREEN_DEPENDENCIES = ncurses
|
SCREEN_DEPENDENCIES = ncurses
|
||||||
SCREEN_CONF_ENV = CFLAGS=-DSYSV=1
|
SCREEN_CONF_ENV = ac_cv_header_elf_h=no ac_cv_header_dwarf_h=no
|
||||||
SCREEN_MAKE_OPT = -j1
|
SCREEN_MAKE = $(MAKE1)
|
||||||
SCREEN_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) SCREEN=screen install_bin
|
SCREEN_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) SCREEN=screen install_bin
|
||||||
|
|
||||||
$(eval $(call AUTOTARGETS))
|
$(eval $(call AUTOTARGETS))
|
||||||
|
Loading…
Reference in New Issue
Block a user