rpms/llvm/devel llvm.spec,1.33,1.34

Michel Alexandre Salim salimma at fedoraproject.org
Thu Sep 10 03:09:22 UTC 2009


Author: salimma

Update of /cvs/pkgs/rpms/llvm/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29323

Modified Files:
	llvm.spec 
Log Message:
Disable var tracking assignment in the correct place



Index: llvm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/llvm/devel/llvm.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -p -r1.33 -r1.34
--- llvm.spec	10 Sep 2009 03:04:02 -0000	1.33
+++ llvm.spec	10 Sep 2009 03:09:21 -0000	1.34
@@ -169,11 +169,6 @@ popd
 # Disabling assertions now, rec. by pure and needed for OpenGTL
 # no PIC on ix86: http://llvm.org/bugs/show_bug.cgi?id=3239
 mkdir obj && cd obj
-%ifarch ppc
-CXXFLAGS="%{optflags} -fno-var-tracking-assignments" \
-%else
-CXXFLAGS="%{optflags}" \
-%endif
 ../configure \
   --prefix=%{_prefix} \
   --libdir=%{_libdir}/%{name} \
@@ -188,7 +183,12 @@ CXXFLAGS="%{optflags}" \
 # configure does not properly specify libdir
 sed -i 's|(PROJ_prefix)/lib|(PROJ_prefix)/%{_lib}/%{name}|g' Makefile.config
 
-make %{_smp_mflags} OPTIMIZE_OPTION='%{optflags}'
+make %{_smp_mflags} \
+%ifarch ppc
+  OPTIMIZE_OPTION="%{optflags} -fno-var-tracking-assignments"
+%else
+  OPTIMIZE_OPTION="%{optflags}"
+%endif
 
 
 %check




More information about the scm-commits mailing list