[Pkg-tcltk-commits] r566 - tcl8.3/trunk/debian

sgolovan-guest at alioth.debian.org sgolovan-guest at alioth.debian.org
Mon Apr 14 11:37:56 UTC 2008


Author: sgolovan-guest
Date: 2008-04-14 11:37:55 +0000 (Mon, 14 Apr 2008)
New Revision: 566

Modified:
   tcl8.3/trunk/debian/changelog
   tcl8.3/trunk/debian/rules
Log:
[tcl8.3]
  * Added -fno-strict-aliasing GCC option to workaround casting integers to
    pointers.


Modified: tcl8.3/trunk/debian/changelog
===================================================================
--- tcl8.3/trunk/debian/changelog	2008-04-14 11:13:42 UTC (rev 565)
+++ tcl8.3/trunk/debian/changelog	2008-04-14 11:37:55 UTC (rev 566)
@@ -5,6 +5,8 @@
     the variable and many things go wrong, leading to a build failure.
   * Explicitly specified configure options --host and --build to make build
     results more predictable.
+  * Added -fno-strict-aliasing GCC option to workaround casting integers to
+    pointers.
   * Cleaned up debian/rules.
   * Overridden lintian warning package-name-doesnt-match-sonames since tcl8.3
     package contains not only a library, and it's unreasonable to split it

Modified: tcl8.3/trunk/debian/rules
===================================================================
--- tcl8.3/trunk/debian/rules	2008-04-14 11:13:42 UTC (rev 565)
+++ tcl8.3/trunk/debian/rules	2008-04-14 11:37:55 UTC (rev 566)
@@ -13,7 +13,7 @@
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
 CFLAGS=-g -O0 -D_REENTRANT=1
 else
-CFLAGS=-g -O2 -D_REENTRANT=1
+CFLAGS=-g -O2 -fno-strict-aliasing -D_REENTRANT=1
 endif
 
 unpatch:
@@ -151,7 +151,7 @@
 	dh_installdocs -a
 	dh_installmenu -a
 	dh_installchangelogs -a ChangeLog
-	install -m 644 debian/tcl$(v).lintian-override \
+	install -D -m 644 debian/tcl$(v).lintian-override \
 		debian/tcl$(v)/usr/share/lintian/overrides/tcl$(v)
 	dh_fixperms -a
 	dh_strip -a




More information about the Pkg-tcltk-commits mailing list