From 3f472a4e5ca21e3ddb13737473e636b2b11a408a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:22:56 +0200 Subject: Adding debian version 13.2.0-10. Signed-off-by: Daniel Baumann --- debian/runcheck.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 debian/runcheck.sh (limited to 'debian/runcheck.sh') diff --git a/debian/runcheck.sh b/debian/runcheck.sh new file mode 100644 index 0000000..c7d6cfb --- /dev/null +++ b/debian/runcheck.sh @@ -0,0 +1,23 @@ +#! /bin/sh + +mkdir -p build + +abi=${CC##* } +base=build/runcheck$abi + +cat >$base.c < +int main() +{ + printf("$abi"); + return 0; +} +EOF + + +if ${CC:-gcc} -o $base $base.c 2>/dev/null; then + if [ "$($base 2>&1)" = "$abi" ]; then + printf "%s" $abi > $base.out + printf "%s" $abi + fi +fi -- cgit v1.2.3