~ubuntu-branches/ubuntu/maverick/lightning-sunbird/maverick

« back to all changes in this revision

Viewing changes to debian/patches/force-no-pragma-visibility-for-gcc-4.2_4.3

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2007-08-30 13:24:42 UTC
  • Revision ID: james.westby@ubuntu.com-20070830132442-qbj1545ji4ys9oew
Tags: 0.5-0ubuntu4
* debian/rules, debian/control: use don't build lpia with gcc-4.1/g++-4.1
  anymore, but use gcc-4.2/g++-4.2 for all archs now.
* debian/patches/configure-autoconf2-13-reconfigure.patch: update configure
  patch to enable visibility changes of previous upload.
* debian/patches/force-no-pragma-visibility-for-gcc-4.2_4.3,
  debian/patches/series: add patch to disable pragma visibility strategy
  to hide symbols. stick to -fvisibility=hidden.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
---
 
2
 configure.in |    3 +--
 
3
 1 file changed, 1 insertion(+), 2 deletions(-)
 
4
 
 
5
Index: mozilla/configure.in
 
6
===================================================================
 
7
--- mozilla.orig/configure.in   2007-08-21 15:52:32.000000000 +0000
 
8
+++ mozilla/configure.in        2007-08-21 15:54:29.000000000 +0000
 
9
@@ -2642,18 +2642,17 @@
 
10
                          if test `grep -c "@PLT" conftest.S` = 0; then
 
11
                            ac_cv_visibility_builtin_bug=yes
 
12
                          fi
 
13
                        fi
 
14
                        rm -f conftest.{c,S}
 
15
                        ])
 
16
         if test "$ac_cv_have_visibility_builtin_bug" = "no" -a \
 
17
                 "$ac_cv_have_visibility_class_bug" = "no"; then
 
18
-          VISIBILITY_FLAGS='-I$(DIST)/include/system_wrappers -include $(topsrcdir)/config/gcc_hidden.h'
 
19
-          WRAP_SYSTEM_INCLUDES=1
 
20
+          VISIBILITY_FLAGS='-fvisibility=hidden'
 
21
         else
 
22
           VISIBILITY_FLAGS='-fvisibility=hidden'
 
23
         fi # have visibility pragma bug
 
24
       fi   # have visibility pragma
 
25
     fi     # have visibility(default) attribute
 
26
   fi       # have visibility(hidden) attribute
 
27
 fi         # GNU_CC
 
28