olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-rh1256317-20.patch

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