bca718
commit 318c7a5846bbfaab567c92b37941000dfc0c00c0
bca718
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
bca718
Date:   Thu Aug 21 10:27:13 2014 +0530
bca718
bca718
    Remove redundant CPPFLAGS for some programs
bca718
    
bca718
    These programs get the NOT_IN_libc twice, once through the 'other'
bca718
    target and another explicitly.  Remove the explicitly added CPFLAG.
bca718
    
bca718
    	* catgets/Makefile (CPPFLAGS-gencat): Remove.
bca718
    	* iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
bca718
    	(CPPFLAGS-iconvconfig): Likewise.
bca718
    	* timezone/Makefile (CPPFLAGS-zic): Likewise.
bca718
bca718
Index: glibc-2.17-c758a686/catgets/Makefile
bca718
===================================================================
bca718
--- glibc-2.17-c758a686.orig/catgets/Makefile
bca718
+++ glibc-2.17-c758a686/catgets/Makefile
bca718
@@ -42,8 +42,6 @@ $(objpfx)gencat: $(gencat-modules:%=$(ob
bca718
 catgets-CPPFLAGS := -DNLSPATH='"$(msgcatdir)/%L/%N:$(msgcatdir)/%L/LC_MESSAGES/%N:$(msgcatdir)/%l/%N:$(msgcatdir)/%l/LC_MESSAGES/%N:"' \
bca718
 	    -DHAVE_CONFIG_H
bca718
 
bca718
-CPPFLAGS-gencat = -DNOT_IN_libc
bca718
-
bca718
 generated = de.msg test1.cat test1.h test2.cat test2.h sample.SJIS.cat \
bca718
 	    test-gencat.h
bca718
 generated-dirs = de
bca718
Index: glibc-2.17-c758a686/iconv/Makefile
bca718
===================================================================
bca718
--- glibc-2.17-c758a686.orig/iconv/Makefile
bca718
+++ glibc-2.17-c758a686/iconv/Makefile
bca718
@@ -53,9 +53,7 @@ CFLAGS-gconv_cache.c += -DGCONV_DIR='"$(
bca718
 CFLAGS-gconv_conf.c = -DGCONV_PATH='"$(gconvdir)"'
bca718
 CFLAGS-iconvconfig.c = -DGCONV_PATH='"$(gconvdir)"' -DGCONV_DIR='"$(gconvdir)"'
bca718
 
bca718
-CPPFLAGS-iconv_prog = -DNOT_IN_libc
bca718
 CPPFLAGS-iconv_charmap = -DNOT_IN_libc
bca718
-CPPFLAGS-iconvconfig = -DNOT_IN_libc
bca718
 CPPFLAGS-linereader = -DNOT_IN_libc
bca718
 CPPFLAGS-strtab = -DNOT_IN_libc
bca718
 CPPFLAGS-charmap = -DNOT_IN_libc
bca718
Index: glibc-2.17-c758a686/timezone/Makefile
bca718
===================================================================
bca718
--- glibc-2.17-c758a686.orig/timezone/Makefile
bca718
+++ glibc-2.17-c758a686/timezone/Makefile
bca718
@@ -42,8 +42,6 @@ all: # Make this the default target; it
bca718
 
bca718
 include ../Makeconfig	# Get objpfx defined so we can use it below.
bca718
 
bca718
-CPPFLAGS-zic = -DNOT_IN_libc
bca718
-
bca718
 ifeq ($(have-ksh),yes)
bca718
 install-bin-script = tzselect
bca718
 generated += tzselect