SPECS: mythes.spec - CXXFLAGS

glen glen at pld-linux.org
Mon Dec 31 10:12:22 CET 2007


Author: glen                         Date: Mon Dec 31 09:12:22 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- CXXFLAGS

---- Files affected:
SPECS:
   mythes.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/mythes.spec
diff -u SPECS/mythes.spec:1.5 SPECS/mythes.spec:1.6
--- SPECS/mythes.spec:1.5	Sat Mar 31 09:35:51 2007
+++ SPECS/mythes.spec	Mon Dec 31 10:12:16 2007
@@ -61,10 +61,11 @@
 %patch0 -p1
 
 %build
-libtool --tag=CXX --mode=compile %{__cxx} mythes.cxx -c -o mythes.lo
+CXXFLAGS="-Wall -ansi -pedantic %{rpmcxxflags}"
+libtool --tag=CXX --mode=compile %{__cxx} mythes.cxx $CXXFLAGS -c -o mythes.lo
 libtool --tag=CXX --mode=link %{__cxx} mythes.lo -rpath %{_libdir} -o libmythes.la
 
-libtool --tag=CXX --mode=compile %{__cxx} example.cxx -c -o example.lo
+libtool --tag=CXX --mode=compile %{__cxx} example.cxx $CXXFLAGS -c -o example.lo
 libtool --tag=CXX --mode=link %{__cxx} libmythes.la example.lo -o example
 
 %check
@@ -103,6 +104,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2007-12-31 09:12:16  glen
+- CXXFLAGS
+
 Revision 1.5  2007-03-31 07:35:51  qboosh
 - more deps, unified
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mythes.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list