5a4f6c497a
Fix the following build failure with gcc 4.8 raised since bump to
version 2.0.2 in commit 11a3989dbf
:
color.c: In function 'parse_dir_colors':
color.c:103:11: error: redeclaration of 'i' with no linkage
for(int i=0; i < DOT_EXTENSION; i++) color_code[i] = NULL;
^
Fixes:
- http://autobuild.buildroot.org/results/e05595696727622eaf517944d4ff4414baf66bb2
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
23 lines
583 B
Makefile
23 lines
583 B
Makefile
################################################################################
|
|
#
|
|
# tree
|
|
#
|
|
################################################################################
|
|
|
|
TREE_VERSION = 2.0.2
|
|
TREE_SOURCE = tree-$(TREE_VERSION).tgz
|
|
TREE_SITE = http://mama.indstate.edu/users/ice/tree/src
|
|
TREE_LICENSE = GPL-2.0+
|
|
TREE_LICENSE_FILES = LICENSE
|
|
|
|
define TREE_BUILD_CMDS
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -std=c99" \
|
|
-C $(@D)
|
|
endef
|
|
|
|
define TREE_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/tree $(TARGET_DIR)/usr/bin/tree
|
|
endef
|
|
|
|
$(eval $(generic-package))
|