We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a18814c commit 30cc3e1Copy full SHA for 30cc3e1
test/08_manylinux2010_only/environment.json
@@ -1,3 +1,4 @@
1
{
2
- "CIBW_SKIP": "*-manylinux1"
+ "CIBW_ENVIRONMENT": "CFLAGS=\"$CFLAGS -Werror=implicit-function-declaration\"",
3
+ "CIBW_TEST_COMMAND": "python -c \"import spam\""
4
}
test/08_manylinux2010_only/spam.c
@@ -7,12 +7,14 @@ static PyObject *
7
spam_system(PyObject *self, PyObject *args)
8
9
const char *command;
10
- int sts;
+ int sts = 0;
11
12
if (!PyArg_ParseTuple(args, "s", &command))
13
return NULL;
14
15
+#if defined(__linux__)
16
sts = malloc_info(0, stdout);
17
+#endif
18
if (sts == 0) {
19
sts = system(command);
20
0 commit comments