diff options
author | Mattias Andrée <maandree@kth.se> | 2022-06-10 21:10:31 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-06-10 21:10:31 +0200 |
commit | 42ae2010eb816fad62d2ecbaa117bf0d37b262e1 (patch) | |
tree | ac5920df84123ce066d7d3c7fef851dee592fcdb /config.mk | |
parent | Fix install path for license (diff) | |
download | bus-42ae2010eb816fad62d2ecbaa117bf0d37b262e1.tar.gz bus-42ae2010eb816fad62d2ecbaa117bf0d37b262e1.tar.bz2 bus-42ae2010eb816fad62d2ecbaa117bf0d37b262e1.tar.xz |
Assume libc (correctly) does not define union semun3.1.9
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | config.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4,3 +4,5 @@ MANPREFIX = $(PREFIX)/share/man CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE CFLAGS = -std=c99 -Wall -Wextra -pedantic -O2 $(CPPFLAGS) LDFLAGS = -s -lrt + +# Add -DSEMUN_ALREADY_DEFINED to CPPFLAGS if `union semun` is already defined by libc |