diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-01-03 16:43:53 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-01-03 16:43:53 +0100 |
commit | 0c9f43581e34f002d6cf308c2454e11ad0dcd54b (patch) | |
tree | 143b349931272099960dfa4c40d48b2256c4c2f2 | |
parent | a04661685354336efdf1e30bfd6eeb67bc4c8fd6 (diff) |
Makefile: add comment for feature test macro on FreeBSD
Reported by Christos Margiolis and plasmoduck, thanks
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |