added gcc flag which is needed for ULLONG_MAX to appear
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 26 Nov 2006 22:17:46 +0000 (22:17 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 26 Nov 2006 22:17:46 +0000 (22:17 -0000)
on Tito's box

Makefile.flags

index ed42c2b..0c680f9 100644 (file)
@@ -4,7 +4,10 @@
 
 BB_VER = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
 
+# -std=gnu99 needed for [U]LLONG_MAX on some systems
+
 CPPFLAGS += \
+       -std=gnu99 \
        -Iinclude -Ilibbb \
        $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) -I$(srctree)/libbb \
        -include include/autoconf.h \