diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-06-05 14:45:16 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-06-05 14:45:16 +0200 |
commit | 194794a534463bbf7bfa754ef15c2e293e442ace (patch) | |
tree | 33925e233952a3d5ab9515abb32503167110fd80 /README | |
parent | bd20dca4e12ce1cc1e509fa24985315ebb83b7de (diff) |
Makefile: switch to use CPPFLAGS -D_DEFAULT_SOURCE
This fixes a warning on Linux glibc:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^~~~~~~
Tested on Void GNU/Linux glibc with gcc. Tested on various other platforms for
regressions too namely: OpenBSD, NetBSD, FreeBSD, Void GNU/Linux musl.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions