File tamilgtk2im-cflags.patch of Package tamil-gtk2im

--- compile-gtk2im.sh
+++ compile-gtk2im.sh
@@ -2,6 +2,7 @@
 
 /bin/sh libtool --mode=compile gcc -DHAVE_CONFIG_H \
 	`pkg-config --cflags gtk+-2.0` \
+	$CFLAGS \
 	-g -O2 -Wall -D_GNU_SOURCE -D_REENTRANT -DDEBUG -c \
 	-o tamil99-tsc.lo tamil99-tsc.c
 
@@ -13,6 +14,7 @@
 
 /bin/sh libtool --mode=compile gcc -DHAVE_CONFIG_H \
 	`pkg-config --cflags gtk+-2.0` \
+	$CFLAGS \
 	-g -O2 -Wall -D_GNU_SOURCE -D_REENTRANT -DDEBUG -c \
 	-o tamil99-uni.lo tamil99-uni.c
 
@@ -24,6 +26,7 @@
 
 /bin/sh libtool --mode=compile gcc -DHAVE_CONFIG_H \
 	`pkg-config --cflags gtk+-2.0` \
+	$CFLAGS \
 	-g -O2 -Wall -D_GNU_SOURCE -D_REENTRANT -DDEBUG -c \
 	-o tavpim-tsc.lo tavpim-tsc.c
 
@@ -35,6 +38,7 @@
 
 /bin/sh libtool --mode=compile gcc -DHAVE_CONFIG_H \
 	`pkg-config --cflags gtk+-2.0` \
+	$CFLAGS \
 	-g -O2 -Wall -D_GNU_SOURCE -D_REENTRANT -DDEBUG -c \
 	-o tavpim-uni.lo tavpim-uni.c
 
@@ -46,6 +50,7 @@
 
 /bin/sh libtool --mode=compile gcc -DHAVE_CONFIG_H \
 	`pkg-config --cflags gtk+-2.0` \
+	$CFLAGS \
 	-g -O2 -Wall -D_GNU_SOURCE -D_REENTRANT -DDEBUG -c \
 	-o anjal-uni.lo anjal-uni.c
 
openSUSE Build Service is sponsored by