From 8ef230169a0951a1698dc34c5c5700655436dbdd Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Sun, 29 Sep 2024 15:09:39 -0400 Subject: [PATCH] fix: indicate to the compiler that negentropy.h will be a precompiled header --- cpp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/Makefile b/cpp/Makefile index 66c1c5d..1ef9844 100644 --- a/cpp/Makefile +++ b/cpp/Makefile @@ -20,7 +20,7 @@ install-deps: # Generate 'negentropy.h.gch' precompiled-header: - g++ -O0 --std=c++20 -Wall -fexceptions -g $(NEGENTROPY_ROOT)negentropy.h $(INCS) + g++ -x c++-header -O0 --std=c++20 -Wall -fexceptions -g -o $(NEGENTROPY_ROOT)negentropy.h.gch $(NEGENTROPY_ROOT)negentropy.h $(INCS) build-lib: ifeq ($(OS),Windows_NT)