run-tests: Stop explicitly linking against -lssp for the fortification test
Since libmingwex.a provides these routines now, we don't need to specify -lssp manually.
This commit is contained in:
1 parent
36f8c1359e
commit
ef9806fc0a
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -164,7 +164,7 @@ RUN cd test && \
|
||||
$arch-w64-mingw32-clang $test.c -o $arch/$test.exe -fstack-protector-strong || exit 1; \
|
||||
done; \
|
||||
for test in bufferoverflow; do \
|
||||
$arch-w64-mingw32-clang $test.c -o $arch/$test.exe -lssp -D_FORTIFY_SOURCE=2 -O2 || exit 1; \
|
||||
$arch-w64-mingw32-clang $test.c -o $arch/$test.exe -D_FORTIFY_SOURCE=2 -O2 || exit 1; \
|
||||
done; \
|
||||
done
|
||||
|
||||
|
||||
+1
-1
@@ -174,7 +174,7 @@ $(TARGETS_CFGUARD): %$(EXEEXT): %.c
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $< -o $@ -mguard=cf
|
||||
|
||||
$(TARGETS_FORTIFY): %-fortify$(EXEEXT): %.c
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $< -o $@ -O2 -D_FORTIFY_SOURCE=2 -lssp
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $< -o $@ -O2 -D_FORTIFY_SOURCE=2
|
||||
|
||||
$(TARGETS_ASAN): %-asan$(EXEEXT): %.c
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $< -o $@ -fsanitize=address -g -gcodeview -Wl,--pdb=
|
||||
|
||||
Reference in new issue
Block a user