SPECS: tgui.spec - pass cflags and ldflags when .so making

shadzik shadzik at pld-linux.org
Sun Aug 26 00:22:09 CEST 2007


Author: shadzik                      Date: Sat Aug 25 22:22:09 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass cflags and ldflags when .so making

---- Files affected:
SPECS:
   tgui.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/tgui.spec
diff -u SPECS/tgui.spec:1.12 SPECS/tgui.spec:1.13
--- SPECS/tgui.spec:1.12	Tue Aug 21 14:00:16 2007
+++ SPECS/tgui.spec	Sun Aug 26 00:22:04 2007
@@ -62,8 +62,8 @@
 	FLAGS="%{rpmcxxflags}" \
 	LDFLAGS="%{rpmldflags}"
 
-%{__cxx} -fPIC -c tgui.cpp
-%{__cxx} -shared tgui.o -o libtgui.so `allegro-config --libs`
+%{__cxx} %{rpmcflags} -fPIC -c tgui.cpp
+%{__cxx} %{rpmldflags} %{rpmcflags} -shared tgui.o -o libtgui.so `allegro-config --libs`
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -97,6 +97,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2007/08/25 22:22:04  shadzik
+- pass cflags and ldflags when .so making
+
 Revision 1.12  2007/08/21 12:00:16  lisu
 - rel 1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tgui.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list