Commit 2821eecfd3d4314552c3bd693701425786993cbc
Build libgnurx with -std=gnu11 on AppVeyor
C23 made `bool`, `false` and `true` keywords which breaks building
mingw-libgnurx-2.5.1 because of likely new GCC being in use there.
Author: xaizek
Author date (UTC): 2026-05-16 15:52
Committer name: xaizek
Committer date (UTC): 2026-05-16 17:56
Parent(s): 65d450fb9ae96ed058d10e7de8e1ca2f0ccffdb4
Signing key: 99DC5E4DB05F6BE2
Tree: 3fdd7c1c08a45cea12a69677b6b716278052d3f7
| File scripts/appveyor/win/build-deps changed (mode: 100755) (index 54aa31ac8..d8fd322d2) |
| ... |
... |
if [ ! -d mingw-libgnurx-2.5.1/ ]; then |
| 41 |
41 |
wget 'https://downloads.sourceforge.net/project/mingw/Other/UserContributed/regex/mingw-regex-2.5.1/mingw-libgnurx-2.5.1-src.tar.gz' |
wget 'https://downloads.sourceforge.net/project/mingw/Other/UserContributed/regex/mingw-regex-2.5.1/mingw-libgnurx-2.5.1-src.tar.gz' |
| 42 |
42 |
tar vxf mingw-libgnurx-2.5.1-src.tar.gz |
tar vxf mingw-libgnurx-2.5.1-src.tar.gz |
| 43 |
43 |
cd mingw-libgnurx-2.5.1/ |
cd mingw-libgnurx-2.5.1/ |
| 44 |
|
./configure |
|
|
44 |
|
# `bool`, `false` and `true` are keywords in C23 which breaks this library |
|
45 |
|
./configure CFLAGS=-std=gnu11 |
| 45 |
46 |
make |
make |
| 46 |
47 |
|
|
| 47 |
48 |
fi |
fi |