]> Nishi Git Mirror - libw3.git/commitdiff
fstack protector
authornishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Tue, 6 Feb 2024 01:52:24 +0000 (01:52 +0000)
committernishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Tue, 6 Feb 2024 01:52:24 +0000 (01:52 +0000)
git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@171 d27a3e52-49c5-7645-884c-6793ebffc270

Library/Makefile

index a5fa106f5536cc7a0edcf896bd3e14ab8e64e0f2..4a3eda1a42c2ccce5000155856bc8dadb6f7e629 100644 (file)
@@ -5,7 +5,7 @@ OBJS = ./Core.o ./Util.o ./DNS.o ./HTTP.o ./Gopher.o ./POP3.o ./File.o ./URL.o .
 
 ifeq ($(WINDOWS),YES)
 ./w3.dll: $(OBJS)
-       $(CC) $(LDFLAGS) -L../openssl/lib/mingw/$(WINARCH) -shared -Wl,--out-implib,./w3.lib -o $@ $^ $(LIBS)
+       $(CC) $(LDFLAGS) -fstack-protector -L../openssl/lib/mingw/$(WINARCH) -shared -Wl,--out-implib,./w3.lib -o $@ $^ $(LIBS)
 else
 
 ./libw3.so: $(OBJS)