summary refs log tree commit diff
path: root/wcsmbs/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-07-24 20:03:14 +0000
committerUlrich Drepper <drepper@redhat.com>2005-07-24 20:03:14 +0000
commitc2263408588c70a6232ffd606a3c7abf0a5fd5f5 (patch)
treebd2b0ad9f5dfff55d6a93446aa6e9ed906f77916 /wcsmbs/Makefile
parent76c98ee22b23ccd59684b32dd7af7e110687d79c (diff)
downloadglibc-c2263408588c70a6232ffd606a3c7abf0a5fd5f5.tar.gz
glibc-c2263408588c70a6232ffd606a3c7abf0a5fd5f5.tar.xz
glibc-c2263408588c70a6232ffd606a3c7abf0a5fd5f5.zip
* wcsmbs/Makefile: Add rules to build and run tst-wchar-h.
	* wcsmbs/tst-wchar-h.c: New file.
Diffstat (limited to 'wcsmbs/Makefile')
-rw-r--r--wcsmbs/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/wcsmbs/Makefile b/wcsmbs/Makefile
index d033de931c..78b3e5b4e7 100644
--- a/wcsmbs/Makefile
+++ b/wcsmbs/Makefile
@@ -40,7 +40,7 @@ routines := wcscat wcschr wcscmp wcscpy wcscspn wcsdup wcslen wcsncat \
 	    wcsmbsload mbsrtowcs_l
 
 tests := tst-wcstof wcsmbs-tst1 tst-wcsnlen tst-btowc tst-mbrtowc \
-	 tst-wcrtomb tst-wcpncpy tst-mbsrtowcs
+	 tst-wcrtomb tst-wcpncpy tst-mbsrtowcs tst-wchar-h
 
 include ../Rules
 
@@ -62,6 +62,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
 
 tst-btowc-ENV = LOCPATH=$(common-objpfx)localedata
 tst-mbrtowc-ENV = LOCPATH=$(common-objpfx)localedata