aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-05-14 19:48:32 -0400
committeriamcheeseman <[email protected]>2026-05-14 19:48:32 -0400
commitc8f1a5eaed061ad4469e5309db8a7e8433391ed8 (patch)
treed18b1849a1124c8c4084b0937d99db4d31f00b39 /build.sh
parent9cec970bdbaabc3491f34e67198697173901f559 (diff)
use `-std=c99`
I don't want GNU extensions, and using gnu99 was only temporary because I didn't know how to enable POSIX standards, which this project relies on.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 3ab36a8..049fb09 100755
--- a/build.sh
+++ b/build.sh
@@ -1,7 +1,7 @@
#!/bin/bash
cc=cc
-cflags=(-Wall -Wextra -std=gnu99 -O2)
+cflags=(-Wall -Wextra -std=c99 -D_XOPEN_SOURCE=700 -O2)
ldflags=(-lm)
platform=gl