diff options
| author | Randy Palamar <palamar@ualberta.ca> | 2023-08-16 09:13:29 -0600 |
|---|---|---|
| committer | Randy Palamar <palamar@ualberta.ca> | 2023-08-16 09:13:29 -0600 |
| commit | 3134de122dedb2523879e1506162b2513eaf1e1d (patch) | |
| tree | 29510afd929ac21af25455fb9284002103b5ed03 /configure | |
| parent | 4360440862bd50525cafdcdc1a4224a1616ab486 (diff) | |
| download | vis-3134de122dedb2523879e1506162b2513eaf1e1d.tar.gz vis-3134de122dedb2523879e1506162b2513eaf1e1d.tar.xz | |
build: stop setting _POSIX_C_SOURCE
from feature_test_macros(7):
> Defining _XOPEN_SOURCE with a value of 700 or greater produces the
> same effects as defining _POSIX_C_SOURCE with a value of 200809L or
> greater.
Depending on the configuration and system pkg-conf files there can be
redefinition warnings. Rather than patching with a -U_POSIX_C_SOURCE
it can just be dropped instead.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -220,7 +220,7 @@ tryflag CFLAGS_TRY -Werror=unused-command-line-argument tryldflag LDFLAGS_TRY -Werror=unknown-warning-option tryldflag LDFLAGS_TRY -Werror=unused-command-line-argument -CFLAGS_STD="-std=c99 -D_POSIX_C_SOURCE=200809L -U_XOPEN_SOURCE -D_XOPEN_SOURCE=700 -DNDEBUG -MMD" +CFLAGS_STD="-std=c99 -U_XOPEN_SOURCE -D_XOPEN_SOURCE=700 -DNDEBUG -MMD" LDFLAGS_STD="-lc" OS=$(uname) |
