]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Build with -fno-strict-aliasing
authorRuss Allbery <rra@debian.org>
Mon, 22 Mar 2010 22:41:38 +0000 (15:41 -0700)
committerRuss Allbery <rra@debian.org>
Mon, 22 Mar 2010 22:41:38 +0000 (15:41 -0700)
* Build with -fno-strict-aliasing.  The upstream development branch has
  a better fix that selectively enables this for specific files with
  known problems, but be conservative for the stable release.

debian/changelog
debian/rules

index 0acb6cfd0649142534a2cfc5a0b00f6b0b57c942..b15a1a0133b9f5ec906eccfaaa1c95c6b0d022b1 100644 (file)
@@ -7,6 +7,9 @@ openafs (1.4.12+dfsg-2) UNRELEASED; urgency=low
     - [b78eeb0c] h_TossStuff_r: make sure host does not go away
     - [0583af32] volmonitor copy link before calling free
     - [eb799d07] Move non-executable stack assembly code to end of file
+  * Build with -fno-strict-aliasing.  The upstream development branch has
+    a better fix that selectively enables this for specific files with
+    known problems, but be conservative for the stable release.
 
  -- Russ Allbery <rra@debian.org>  Mon, 22 Mar 2010 15:38:05 -0700
 
index fabef82ad23f04580d4a6dcfe3bfaceb0d5dabfa..6a5e3f1c5d6d7426dd4ec42117c6f018162f99b1 100755 (executable)
@@ -93,14 +93,15 @@ build-stamp:
        mv doc/man-pages/pod1/up.pod doc/man-pages/pod1/afs-up.pod
        rm -f doc/man-pages/man1/up.1
        sh regen.sh
-       afslogsdir=/var/log/openafs afslocaldir=/var/lib/openafs/local sh    \
-           configure --with-afs-sysname=$(SYS_NAME) --disable-kernel-module \
-           --prefix=/usr --mandir=\$${prefix}/share/man --sysconfdir=/etc   \
-           --libexecdir=/usr/lib --localstatedir=/var/lib                   \
-           --with-krb5-conf=/usr/bin/krb5-config --enable-supergroups       \
-           --enable-largefile-fileserver --enable-bos-new-config            \
-           --with-xslt-processor=xsltproc --with-html-xsl=$(HTML_XSL)       \
-           --disable-strip-binaries --enable-debug --enable-debug-lwp       \
+       afslogsdir=/var/log/openafs afslocaldir=/var/lib/openafs/local sh  \
+           configure CC="gcc -fno-strict-aliasing"                        \
+           --with-afs-sysname=$(SYS_NAME) --disable-kernel-module         \
+           --prefix=/usr --mandir=\$${prefix}/share/man --sysconfdir=/etc \
+           --libexecdir=/usr/lib --localstatedir=/var/lib                 \
+           --with-krb5-conf=/usr/bin/krb5-config --enable-supergroups     \
+           --enable-largefile-fileserver --enable-bos-new-config          \
+           --with-xslt-processor=xsltproc --with-html-xsl=$(HTML_XSL)     \
+           --disable-strip-binaries --enable-debug --enable-debug-lwp     \
            $(DEBIAN_OPT_FLAGS) $(SYSTEM)
        chmod a+x config.sub src/libafs/make_kbuild_makefile.pl \
            src/config/make_vnode.pl