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