File: enable-gcc-optimizations.dpatch

package info (click to toggle)
libpri 1.4.3-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 664 kB
  • ctags: 1,363
  • sloc: ansic: 8,268; sh: 5,936; makefile: 183
file content (20 lines) | stat: -rw-r--r-- 973 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh /usr/share/dpatch/dpatch-run
## enable-gcc-optimizations.dpatch by Faidon Liambotis <paravoid@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Don't discard CFLAGS of the environment
## DP: debian/rules passes at least the optimization level

@DPATCH@
diff -urNad libpri-1.4.1~/Makefile libpri-1.4.1/Makefile
--- libpri-1.4.1~/Makefile	2006-12-30 21:17:34.000000000 +0200
+++ libpri-1.4.1/Makefile	2007-08-07 04:15:59.000000000 +0300
@@ -36,7 +36,7 @@
 DYNAMIC_LIBRARY=libpri.so.1.0
 STATIC_OBJS=copy_string.o pri.o q921.o prisched.o q931.o pri_facility.o
 DYNAMIC_OBJS=copy_string.lo pri.lo q921.lo prisched.lo q931.lo pri_facility.lo
-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_COUNTERS)
+CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_COUNTERS)
 INSTALL_PREFIX=$(DESTDIR)
 INSTALL_BASE=/usr
 SOFLAGS = -Wl,-hlibpri.so.1.0