Commit: 2e2cf4a8addc521c18c2cf52d063acbc587430a8
Parent: 7871810481c9e02f7d03f6c59e8b08ed25363df5
Author: Randy Palamar
Date: Fri, 2 Aug 2024 21:36:48 -0600
apparently glibc needs XOPEN_SOURCE=700
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build.sh b/build.sh
@@ -40,7 +40,7 @@ if [ "$debug" ]; then
# Hot Reloading/Debugging
cflags="$cflags -O0 -ggdb -D_DEBUG -Wno-unused-function"
# NOTE: needed for sync(3p)
- cflags="$cflags -D_XOPEN_SOURCE=600"
+ cflags="$cflags -D_XOPEN_SOURCE=700"
libcflags="$cflags -fPIC"
libldflags="$ldflags -shared"