From bfc6200d75575967a385ebb8d8ca950aa4d07d5b18ce7038207fec09cfb0ca18 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Fri, 14 Oct 2022 01:44:15 +0000 Subject: [PATCH] Accepting request 1010555 from home:jayvdb:branches:devel:languages:python2 - Add -Wno-strict-prototypes to CFLAGS for compiling tests OBS-URL: https://build.opensuse.org/request/show/1010555 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ctypeslib2?expand=0&rev=16 --- python-ctypeslib2.changes | 5 +++++ python-ctypeslib2.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-ctypeslib2.changes b/python-ctypeslib2.changes index 0e5ee16..69e483f 100644 --- a/python-ctypeslib2.changes +++ b/python-ctypeslib2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Oct 14 01:33:02 UTC 2022 - John Vandenberg + +- Add -Wno-strict-prototypes to CFLAGS for compiling tests + ------------------------------------------------------------------- Thu Jul 14 16:14:05 UTC 2022 - Ben Greiner diff --git a/python-ctypeslib2.spec b/python-ctypeslib2.spec index 1bbc377..e7676a0 100644 --- a/python-ctypeslib2.spec +++ b/python-ctypeslib2.spec @@ -75,7 +75,7 @@ sed -i 's/True/true/' pyproject.toml %if %{with test} %check -CFLAGS="-Wall -Wextra -Werror -std=c99 -pedantic -fpic" +CFLAGS="-Wall -Wextra -Werror -Wno-strict-prototypes -std=c99 -pedantic -fpic" LDFLAGS="-shared" clang $CFLAGS $LDFLAGS -o test/data/test-callbacks.so test/data/test-callbacks.c