From: Debian Javascript Maintainers Date: Fri, 8 Nov 2024 04:35:57 +0000 (+0000) Subject: use-gcc-for-llhttp X-Git-Tag: archive/raspbian/7.3.0+dfsg1+_cs24.12.11-1+rpi1~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7d7274573318d4a4c19542d2c08ce464ddd67b61;p=node-undici.git use-gcc-for-llhttp Gbp-Pq: Name use-gcc-for-llhttp.patch --- diff --git a/llhttp/Makefile b/llhttp/Makefile index c7c34f5..286f008 100644 --- a/llhttp/Makefile +++ b/llhttp/Makefile @@ -24,18 +24,18 @@ clean: build/libllhttp.so: build/c/llhttp.o build/native/api.o \ build/native/http.o - $(CLANG) -shared $^ -Wl,-soname,$(SONAME) -o $@ + gcc -shared $^ -Wl,-soname,$(SONAME) -o $@ build/libllhttp.a: build/c/llhttp.o build/native/api.o \ build/native/http.o $(AR) rcs $@ build/c/llhttp.o build/native/api.o build/native/http.o build/c/llhttp.o: build/c/llhttp.c - $(CLANG) $(CFLAGS) $(INCLUDES) -c $< -o $@ + gcc $(CFLAGS) $(INCLUDES) -c $< -o $@ build/native/%.o: src/native/%.c build/llhttp.h src/native/api.h \ build/native - $(CLANG) $(CFLAGS) $(INCLUDES) -c $< -o $@ + gcc $(CFLAGS) $(INCLUDES) -c $< -o $@ build/llhttp.h: generate build/c/llhttp.c: generate