diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-05-06 18:37:57 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-05-31 14:31:08 -0400 |
commit | fed806c3af7b6421e17ac50f8129dbe4fd693e4a (patch) | |
tree | 577a3aa63a69a57d98e7430910c883451f1b3b02 /wcsmbs | |
parent | 3091725976856160a5427b03a9586af534b63750 (diff) | |
download | glibc-fed806c3af7b6421e17ac50f8129dbe4fd693e4a.zip glibc-fed806c3af7b6421e17ac50f8129dbe4fd693e4a.tar.gz glibc-fed806c3af7b6421e17ac50f8129dbe4fd693e4a.tar.bz2 |
tests: move -D_FORTIFY_SOURCE to CPPFLAGS
The -D_FORTIFY_SOURCE flags are being added to the test-specific CFLAGS
values when they should be the test-specific CPPFLAGS values. Otherwise
the values don't override the user-specified CPPFLAGS and might end up
breaking the tests.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'wcsmbs')
-rw-r--r-- | wcsmbs/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsmbs/Makefile b/wcsmbs/Makefile index 99d3d28..983fd76 100644 --- a/wcsmbs/Makefile +++ b/wcsmbs/Makefile @@ -66,7 +66,7 @@ CFLAGS-wcstoull_l.c = $(strtox-CFLAGS) CFLAGS-wcstod_l.c = $(strtox-CFLAGS) CFLAGS-wcstold_l.c = $(strtox-CFLAGS) CFLAGS-wcstof_l.c = $(strtox-CFLAGS) -CFLAGS-tst-wchar-h.c = -D_FORTIFY_SOURCE=2 +CPPFLAGS-tst-wchar-h.c = -D_FORTIFY_SOURCE=2 CFLAGS-isoc99_wscanf.c += $(exceptions) CFLAGS-isoc99_fwscanf.c += $(exceptions) |