diffutils: fix fortify source compat 1501/head
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 29 Jun 2015 08:42:27 +0000 (10:42 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 29 Jun 2015 09:39:57 +0000 (11:39 +0200)
commitd80ab67b13fc6bb48a60f7b30a736758010f5176
tree756f31cc36b7c5346d3b6cbe42351ebe4bf5a5f5
parent371bf3954680bac23a32ead2194c579bdc78f537
diffutils: fix fortify source compat

Compile with `-std=gnu99` instead of `-std=c99` to avoid redefining
`__attribute__` in `src/system.h`.

Fixes the following error spotted by the buildbot:

    In file included from ../lib/stdio.h:43:0,
                     from cmp.c:22:
    .../staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-4.8-linaro_musl-1.1.10_eabi/include/fortify/stdio.h: In function 'snprintf':
    .../staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-4.8-linaro_musl-1.1.10_eabi/include/fortify/stdio.h:99:2: error: invalid use of '__builtin_va_arg_pack ()'
      return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack());
      ^

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
devel/diffutils/Makefile