Bug#375876: mdadm: unneeded compile options in the rules file

Elimar Riesebieter riesebie at lxtec.de
Wed Jun 28 16:41:30 UTC 2006


Package: mdadm
Version: 2.5.2-1lxtec1
Severity: normal
Tags: patch

There are some uneedded compile options in the rules file:
-ggdb is default in upstreams Makefile
-fno-strict-aliasing was introduced in 2.5.0 but the relevant
compile errors and warnings were fixed upstream since 2.5.1.

-fomit-frame-pointer for the udeb package confuses me a little. The
manpage of gcc tells, that this option is included in -O but any way
there are different filesizes of the binary:
66046 mdadm-udeb_2.5.2-1lxtec1_i386.udeb
65338 mdadm-udeb_2.5.2-1lxtec1_i386.udeb.without-fomit-frame-pointer

echo 65338-66046 | bc
-708

Elimar


-- 
  Do you smell something burning or ist it me?



-------------- next part --------------
--- rules.orig	2006-06-28 18:02:20.000000000 +0200
+++ rules	2006-06-28 18:01:01.000000000 +0200
@@ -5,8 +5,8 @@
 
 #export DH_VERBOSE=1
 
-CXFLAGS = -ggdb -fno-strict-aliasing
-CXFLAGS_UDEB := $(CXFLAGS) -fomit-frame-pointer
+#CXFLAGS = -ggdb -fno-strict-aliasing
+CXFLAGS_UDEB :=  -fomit-frame-pointer
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
     CXFLAGS += -O0
     CXFLAGS_UDEB += -O0


More information about the pkg-mdadm-devel mailing list