fix: indicate to the compiler that negentropy.h will be a precompiled header

This commit is contained in:
Richard Ramos 2024-09-29 15:09:39 -04:00
parent 3c2df0b899
commit 8ef230169a
No known key found for this signature in database
GPG Key ID: 1CE87DB518195760

View File

@ -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)