Ver código fonte

fix up coreutils build

Eric Andersen 19 anos atrás
pai
commit
afc5e9078e

+ 2 - 2
package/coreutils/coreutils-compile.patch

@@ -1,5 +1,5 @@
---- lib/time_r.h.orig	2006-04-19 12:03:46.000000000 -0600
-+++ lib/time_r.h	2006-04-19 12:03:50.000000000 -0600
+--- coreutils/lib/time_r.h.orig	2006-04-19 12:03:46.000000000 -0600
++++ coreutils/lib/time_r.h	2006-04-19 12:03:50.000000000 -0600
 @@ -26,7 +26,7 @@
     those declarations.  */
  #include <time.h>

+ 1 - 0
package/coreutils/coreutils.mk

@@ -81,6 +81,7 @@ $(COREUTILS_DIR)/.configured: $(COREUTILS_DIR)/.unpacked
 		ac_cv_func_working_mktime=yes \
 		jm_cv_func_working_re_compile_pattern=yes \
 		ac_use_included_regex=no \
+		gl_cv_c_restrict=no \
 		./configure \
 		--target=$(GNU_TARGET_NAME) \
 		--host=$(GNU_TARGET_NAME) \