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 ed42c2b6d205082020ddfd7ca7d8421b5785c2af..0c680f9048ebb06f4fd59d4d8357568636a58b10 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 \