Fix clang build
authorJeremy Harris <jgh146exb@wizmail.org>
Thu, 5 Sep 2024 09:50:23 +0000 (10:50 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Thu, 5 Sep 2024 09:50:23 +0000 (10:50 +0100)
Broken-by: 9a0f997bac8
src/src/miscmods/Makefile

index d25d5ede0b3a7148d019e89a4352c91517d0813d..3013a88da4a4358049bbf892f274f43a9957a4e9 100644 (file)
@@ -40,7 +40,7 @@ spf.o   spf.so:               $(HDRS) spf.h spf.c
 
 dkim.o:
                @echo "$(CC) dkim.c dkim_transport.c pdkim.c signing.c"
 
 dkim.o:
                @echo "$(CC) dkim.c dkim_transport.c pdkim.c signing.c"
-               $(FE)$(CC) -r $(CFLAGS) $(INCLUDE) \
+               $(FE)$(CC) -r -nostdlib $(CFLAGS) $(INCLUDE) \
                        dkim.c dkim_transport.c pdkim.c signing.c -o $@
 
 dkim.so:
                        dkim.c dkim_transport.c pdkim.c signing.c -o $@
 
 dkim.so: