SPECS: megahal.spec - use arch compilator to build

lisu lisu at pld-linux.org
Wed Dec 12 01:17:41 CET 2007


Author: lisu                         Date: Wed Dec 12 00:17:41 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use arch compilator to build

---- Files affected:
SPECS:
   megahal.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SPECS/megahal.spec
diff -u SPECS/megahal.spec:1.21 SPECS/megahal.spec:1.22
--- SPECS/megahal.spec:1.21	Tue Feb 13 07:46:53 2007
+++ SPECS/megahal.spec	Wed Dec 12 01:17:35 2007
@@ -15,6 +15,7 @@
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	python-devel
 BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	sed >= 4.0
 BuildRequires:	tcl-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -65,9 +66,11 @@
 
 %prep
 %setup -q
+%{__sed} -i 's at gcc@$(CC)@' Makefile
 
 %build
 %{__make} all \
+	CC="%{__cc}" \
 	CFLAGS="%{rpmcflags}" \
 	INSTALLDIRS=vendor
 
@@ -114,6 +117,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2007-12-12 00:17:35  lisu
+- use arch compilator to build
+
 Revision 1.21  2007-02-13 06:46:53  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/megahal.spec?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list