mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 02:39:46 +00:00
strace: Fixup patch to configure
In the rush to sort out a build issue with strace an invalid change to
./configure was made. Update the patch with the correct delta for the
generated file.
Fixes #1978
Fixes: d659700d
("strace: Add strace 6.3")
Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
parent
c0135a1dce
commit
36ad0b17a7
@ -33,7 +33,7 @@ Resolves: https://github.com/strace/strace/issues/253
|
||||
/* end confdefs.h. */
|
||||
#include <linux/version.h>
|
||||
-#define USE_OS_HEADERS (LINUX_VERSION_CODE > 393984 ? 1 : -1)
|
||||
+#define USE_OS_HEADERS ((LINUX_VERSION_CODE >> 8) > (]linux_version_code[ >> 8) ? 1 : -1)
|
||||
+#define USE_OS_HEADERS ((LINUX_VERSION_CODE >> 8) > (393984 >> 8) ? 1 : -1)
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user