~ubuntu-branches/ubuntu/vivid/libpri/vivid

« back to all changes in this revision

Viewing changes to debian/patches/enable-gcc-optimizations

  • Committer: Package Import Robot
  • Author(s): Mark Purcell, Tzafrir Cohen, Mark Purcell
  • Date: 2013-06-20 10:22:25 UTC
  • mfrom: (1.3.12)
  • Revision ID: package-import@ubuntu.com-20130620102225-wcl4jaco3icimqxf
Tags: 1.4.14-1
[ Tzafrir Cohen ]
* New upstream release.
  - Patch spelling-error-in-binary removed: merged upstream.
  - Fixes passing CFLAGS and LDFLAGS from build system: Patch
    enable-gcc-optimizations reduced.
  - Symbols file update (new function pri_persistent_layer2_option).
* Remove version.c on clean (Closes: #688765).
* Pass flags from dpkg-buildflags to the build system This library is
  now hardened.
* Patch disable_dahdi: disable utils that require dahdi and are not
  installed.

[ Mark Purcell ] 
* Update to anonscm.debian - fix vcs-field-not-canonical
* Update Standards-Version: 3.9.4 - lintian clean

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Don't discard CFLAGS of the environment and turn off all optimizations as
2
 
those are handled by our build system.
3
 
 
 
1
Description: remove unneeded and obsolete CPU optimizations
4
2
Author: Faidon Liambotis <paravoid@debian.org>
5
3
 
 
4
We pass our own flags anyway, so such magic optimization flags are not
 
5
likely to help.
 
6
 
6
7
--- a/Makefile
7
8
+++ b/Makefile
8
 
@@ -90,7 +90,7 @@ DYNAMIC_OBJS= \
9
 
        rose_qsig_mwi.lo \
10
 
        rose_qsig_name.lo \
11
 
        version.lo
12
 
-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_OPT) $(COVERAGE_CFLAGS)
13
 
+CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_OPT) $(COVERAGE_CFLAGS)
14
 
 INSTALL_PREFIX=$(DESTDIR)
15
 
 INSTALL_BASE=/usr
16
 
 libdir?=$(INSTALL_BASE)/lib
17
 
@@ -124,22 +124,6 @@ export PRIVERSION
 
9
@@ -104,22 +104,6 @@ export PRIVERSION
18
10
 
19
11
 PRIVERSION:=$(shell GREP=$(GREP) AWK=$(AWK) build_tools/make_version .)
20
12