SPECS (AC-branch): lftp.spec - add -fno-strict-aliasing as workaro...

qboosh qboosh at pld-linux.org
Tue Feb 5 23:58:46 CET 2008


Author: qboosh                       Date: Tue Feb  5 22:58:46 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- add -fno-strict-aliasing as workaround for g++ bug on alpha

---- Files affected:
SPECS:
   lftp.spec (1.248 -> 1.248.2.1) 

---- Diffs:

================================================================
Index: SPECS/lftp.spec
diff -u SPECS/lftp.spec:1.248 SPECS/lftp.spec:1.248.2.1
--- SPECS/lftp.spec:1.248	Sat Nov 10 17:23:06 2007
+++ SPECS/lftp.spec	Tue Feb  5 23:58:41 2008
@@ -48,6 +48,10 @@
 %if %{_gcc_ver} == 2
 %define		__cxx		"%{__cc}"
 %endif
+# workaround for g++ bug triggered by strict-aliasing
+# (when initializing two const shorts in a class the first just after
+# being written is overwritten with its old value together with the second)
+%define		specflags_alpha	-fno-strict-aliasing
 
 %description
 LFTP is a shell-like command line FTP/HTTP client. The main two
@@ -143,6 +147,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.248.2.1  2008-02-05 22:58:41  qboosh
+- add -fno-strict-aliasing as workaround for g++ bug on alpha
+
 Revision 1.248  2007-11-10 16:23:06  maciek2w
 - updated to 3.6.1
 - removed patch lftp-pl.po-update.patch (it has been merged with sources).
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lftp.spec?r1=1.248&r2=1.248.2.1&f=u



More information about the pld-cvs-commit mailing list