Makefile: add comment for feature test macro on FreeBSD

Reported by Christos Margiolis and plasmoduck, thanks
This commit is contained in:
Hiltjo Posthuma 2022-01-03 16:43:53 +01:00
parent a046616853
commit 0c9f43581e
1 changed files with 4 additions and 1 deletions

View File

@ -33,9 +33,12 @@ SFEED_CURSES_LDFLAGS = ${LDFLAGS} -lcurses
#SFEED_CURSES_LDFLAGS = ${LDFLAGS} -lncurses
# Gentoo Linux: some distros might also require -ltinfo and -D_DEFAULT_SOURCE
# to prevent warnings about feature macros.
# to prevent warnings about feature test macros.
#SFEED_CURSES_LDFLAGS = ${LDFLAGS} -lcurses -ltinfo
# FreeBSD: unset feature test macros for SIGWINCH etc.
#SFEED_CURSES_CPPFLAGS =
# use minicurses with hardcoded escape sequences (not the system curses).
#SFEED_CURSES_CPPFLAGS = -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE \
# -DSFEED_THEME=\"themes/${SFEED_THEME}.h\" -DSFEED_MINICURSES