~ubuntu-branches/debian/sid/iceweasel/sid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Mike Hommey
  • Date: 2011-07-30 08:48:19 UTC
  • Revision ID: james.westby@ubuntu.com-20110730084819-vjs2qs97ptw5eml4
Tags: 5.0-5
* debian/rules:
  - Don't add -g to CFLAGS, the upstream build system does it.
  - Use -gstabs on ia64, to work around ICE.
* xpcom/base/nsDebugImpl.cpp: Refresh with the patch from bz#643779 as
  landed updstream. Closes: #635957.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
LIB_DIR := /usr/lib/iceweasel
49
49
SHARE_DIR := /usr/share/iceweasel
50
50
 
51
 
CFLAGS := -g
52
51
MAIN_LDFLAGS := -Wl,--as-needed
53
52
 
54
53
AUTOCONF_DIRS := build/autoconf js/src/build/autoconf
70
69
        CFLAGS += -D__ARM_PCS
71
70
endif
72
71
 
 
72
ifneq (,$(filter ia64,$(DEB_BUILD_ARCH)))
 
73
        CONFIGURE_FLAGS += --enable-debug-symbols=-gstabs
 
74
endif
 
75
 
73
76
ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
74
77
        CONFIGURE_FLAGS += --enable-debug
75
78
endif