aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2026-02-28 14:35:24 +0200
committerDylan Araps <dylan.araps@gmail.com>2026-02-28 14:35:24 +0200
commit2a6d855693a0ae6cfe8078e91b1c4ae1c92c3603 (patch)
tree8d0f126c479e6b22e33630942de7f0be5b02d104 /configure
parentbe9e222f9bed753a76924c7d39a59fc6c80fb2cc (diff)
configure: fix OpenBSD
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 3b43e6c..b169a66 100755
--- a/configure
+++ b/configure
@@ -64,7 +64,7 @@ export STRIP="${STRIP:-strip}"
#
export cc_flags="-std=$c_version -O2 -pipe"
export cc_flags="$cc_flags -D_POSIX_C_SOURCE=200809L"
-export cc_flags="$cc_flags -D_BSD_SOURCE -D_XOPEN_SOURCE=500"
+export cc_flags="$cc_flags -D_BSD_SOURCE -D_GNU_SOURCE"
export cc_flags="$cc_flags -Wall -Wextra -pedantic -Wshadow"