SPECS: telnet.spec - use %{__cc} and %{__cxx}

sparky sparky at pld-linux.org
Sat Aug 5 15:25:22 CEST 2006


Author: sparky                       Date: Sat Aug  5 13:25:22 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %{__cc} and %{__cxx}

---- Files affected:
SPECS:
   telnet.spec (1.77 -> 1.78) 

---- Diffs:

================================================================
Index: SPECS/telnet.spec
diff -u SPECS/telnet.spec:1.77 SPECS/telnet.spec:1.78
--- SPECS/telnet.spec:1.77	Tue Mar 14 02:24:26 2006
+++ SPECS/telnet.spec	Sat Aug  5 15:25:17 2006
@@ -127,12 +127,12 @@
 
 %build
 # don't use configure macro
-CC=gcc
+CC="%{__cc}"
 CFLAGS="%{rpmcflags} -DINET6" \
 CXXFLAGS="%{rpmcflags} -DINET6" \
 ./configure \
-	--with-c-compiler=gcc \
-	--with-c++-compiler=g++ \
+	--with-c-compiler="%{__cc}" \
+	--with-c++-compiler="%{__cxx}" \
 	--prefix=%{_prefix}
 
 %{__make} OPT="%{rpmcflags} -D__USE_UNIX98"
@@ -199,6 +199,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.78  2006/08/05 13:25:17  sparky
+- use %{__cc} and %{__cxx}
+
 Revision 1.77  2006/03/14 01:24:26  glen
 - unified rc-inetd usage (via %service), adapterized
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/telnet.spec?r1=1.77&r2=1.78&f=u



More information about the pld-cvs-commit mailing list