From 0e9fb962b042198d9ff173221142450bf1af9b29 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 11 Apr 2006 15:26:41 +0000 Subject: [PATCH] Clifford Wolf: Hotfix for coreutils-5.94 (let the compiler know that it is c99) [2006040614242356180] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@7513 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/coreutils/coreutils.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/base/coreutils/coreutils.conf b/package/base/coreutils/coreutils.conf index 9abde69f6..59b6bd130 100644 --- a/package/base/coreutils/coreutils.conf +++ b/package/base/coreutils/coreutils.conf @@ -68,3 +68,7 @@ var_append flist''del '|' "usr/lib/charset.alias" var_append INSTALL_WRAPPER_FILTER "|" "sed -r 's,.*/share/man/.*/(uptime|groups|hostname|kill|su).1\$,$builddir/dummy,'" var_append INSTALL_WRAPPER_FILTER "|" "sed -r 's,.*/bin/(uptime|groups|hostname|kill|su)\$,$builddir/dummy,'" +# allow c99 keywords (such as 'resticted' in coreutils-5.94/lib/time_r.h) +var_append CFLAGS " " "-std=c99" +export CFLAGS +