Merge pull request #12 from waku-org/precompiled-header-nix

fix: indicate to the compiler that negentropy.h will be a precompiled header
This commit is contained in:
NagyZoltanPeter 2024-10-01 14:19:37 +02:00 committed by GitHub
commit 13243f668e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,7 +20,7 @@ install-deps:
# Generate 'negentropy.h.gch' # Generate 'negentropy.h.gch'
precompiled-header: 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: build-lib:
ifeq ($(OS),Windows_NT) ifeq ($(OS),Windows_NT)