From b9a76ad9d87ba5cc9506522a6bde7a19deb4341d Mon Sep 17 00:00:00 2001 From: Alex Shinn Date: Tue, 14 Jul 2020 10:12:07 +0900 Subject: [PATCH] late cpp definitions should use XCPPFLAGS, not CPPFLAGS (issue #670) --- Makefile.detect | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.detect b/Makefile.detect index 0112c995..6cd9fed1 100644 --- a/Makefile.detect +++ b/Makefile.detect @@ -192,7 +192,7 @@ SEXP_USE_NTP_GETTIME := $(shell echo "int main(){struct ntptimeval n; ntp_gettim endif ifeq ($(SEXP_USE_NTP_GETTIME),1) -CPPFLAGS += -DSEXP_USE_NTPGETTIME +XCPPFLAGS += -DSEXP_USE_NTPGETTIME endif ifndef SEXP_USE_INTTYPES @@ -200,5 +200,5 @@ SEXP_USE_INTTYPES := $(shell echo "int main(){int_least8_t x;}" | $(CC) -fsyntax endif ifeq ($(SEXP_USE_INTTYPES),1) -CPPFLAGS += -DSEXP_USE_INTTYPES +XCPPFLAGS += -DSEXP_USE_INTTYPES endif