From 2a9ea7046b4c4d50dc77194a1bb830664f34107e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sun, 25 Jan 2015 09:43:31 +0000 Subject: [PATCH] - assure order of files withing ar archive is preserved --- README.cpu-os-macros | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.cpu-os-macros b/README.cpu-os-macros index 5adcecc..6acedd6 100644 --- a/README.cpu-os-macros +++ b/README.cpu-os-macros @@ -9,4 +9,5 @@ cd foo ar x ../cpu-os-macros.a cd - -ar cDr cpu-os-macros.a foo/*macros +# preserve order of files within the archive +LC_ALL=C /bin/sh -c 'ar cDr cpu-os-macros.a foo/*macros' -- 2.44.0