glibc/wcsmbs
Adhemerval Zanella 127cefd84d Do not use -Wp to disable fortify (BZ 31928)
The -Wp does not work properly if the compiler is configured to enable
fortify by default, since it bypasses the compiler driver (which defines
the fortify flags in this case).

This patch is similar to the one used on Ubuntu [1].

I checked with a build for x86_64-linux-gnu, i686-linux-gnu,
aarch64-linux-gnu, s390x-linux-gnu, and riscv64-linux-gnu with
gcc-13 that enables the fortify by default.

Co-authored-by: Matthias Klose <matthias.klose@canonical.com>

[1] https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/glibc/tree/debian/patches/ubuntu/fix-fortify-source.patch
Reviewed-by: DJ Delorie <dj@redhat.com>
2024-10-01 08:44:40 -03:00
..
bits Fix name space violation in fortify wrappers (bug 32052) 2024-08-05 16:49:58 +02:00
btowc.c
c8rtomb.c
c16rtomb.c
c32rtomb.c
Depend
isoc23_fwscanf.c
isoc23_swscanf.c
isoc23_vfwscanf.c
isoc23_vswscanf.c
isoc23_vwscanf.c
isoc23_wscanf.c
isoc99_fwscanf.c
isoc99_swscanf.c
isoc99_vfwscanf.c
isoc99_vswscanf.c
isoc99_vwscanf.c
isoc99_wscanf.c
Makefile Do not use -Wp to disable fortify (BZ 31928) 2024-10-01 08:44:40 -03:00
mbrlen.c
mbrtoc8.c
mbrtoc16.c
mbrtoc32.c
mbrtowc.c
mbsinit.c
mbsnrtowcs.c
mbsrtowcs_l.c
mbsrtowcs.c
test-c8rtomb.c
test-char-types.c
test-mbrtoc8.c
test-wcpcpy.c
test-wcpncpy.c
test-wcscat.c
test-wcschr.c
test-wcschrnul.c
test-wcscmp.c
test-wcscpy.c
test-wcscspn.c
test-wcsdup.c
test-wcslen.c
test-wcsncat.c
test-wcsncmp-nonarray.c
test-wcsncmp.c
test-wcsncpy.c
test-wcsnlen-nonarray.c
test-wcsnlen.c
test-wcspbrk.c
test-wcsrchr.c
test-wcsspn.c
test-wcsstr.c
test-wmemchr.c
test-wmemcmp.c
test-wmemset.c
tst-btowc.c
tst-c16-surrogate.c
tst-c16c32-1.c
tst-c32-state.c
tst-fgetwc-after-eof.c
tst-mbrtowc2.c
tst-mbrtowc.c
tst-mbsrtowcs.c
tst-mbstowcs.c
tst-wchar-h.c
tst-wcpncpy.c
tst-wcrtomb.c
tst-wcslcat2.c
tst-wcslcat.c
tst-wcslcpy2.c
tst-wcslcpy.c
tst-wcsnlen.c
tst-wcstod-nan-locale.c
tst-wcstod-nan-sign.c
tst-wcstod-round.c
tst-wcstof.c
tst-wcstol-binary-c11.c
tst-wcstol-binary-c23.c
tst-wcstol-binary-gnu11.c
tst-wcstol-binary-gnu23.c
tst-wcstol-locale.c
tst-wprintf-binary.c
tst-wprintf-intn.c
tst-wscanf-binary-c11.c
tst-wscanf-binary-c23.c
tst-wscanf-binary-gnu11.c
tst-wscanf-binary-gnu89.c
tst-wscanf-intn.c
tst-wscanf-to_inpunct.c
uchar.h
Versions
wchar.h
wcpcpy.c
wcpncpy.c
wcrtomb.c
wcs-two-way.h
wcsatcliff.c
wcscasecmp_l.c
wcscasecmp.c
wcscat.c
wcschr.c
wcschrnul.c
wcscmp.c
wcscoll_l.c
wcscoll.c
wcscpy.c
wcscspn.c
wcsdup.c
wcslcat.c
wcslcpy.c
wcslen.c
wcsmbs-tst1.c
wcsmbsload.c
wcsmbsload.h
wcsncase_l.c
wcsncase.c
wcsncat.c
wcsncmp.c
wcsncpy.c
wcsnlen.c
wcsnrtombs.c
wcspbrk.c
wcsrchr.c
wcsrtombs.c
wcsspn.c
wcsstr.c
wcstod_l.c
wcstod_nan.c
wcstod.c
wcstof_l.c
wcstof_nan.c
wcstof.c
wcstok.c
wcstol_l.c
wcstol.c
wcstold_l.c
wcstold_nan.c
wcstold.c
wcstoll_l.c
wcstoll.c
wcstoul_l.c
wcstoul.c
wcstoull_l.c
wcstoull.c
wcswidth.c
wcsxfrm_l.c
wcsxfrm.c
wctob.c
wcwidth.c
wcwidth.h
wmemchr.c
wmemcmp.c
wmemcpy.c
wmemmove.c
wmempcpy.c
wmemset.c