~ubuntu-branches/ubuntu/raring/osmpbf/raring

« back to all changes in this revision

Viewing changes to debian/patches/build_flags

  • Committer: Package Import Robot
  • Author(s): David Paleino, Giovanni Mascellani, David Paleino
  • Date: 2013-01-28 20:32:44 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130128203244-y44ztt7sumiu6470
Tags: 1.3.0-1
[ Giovanni Mascellani ]
* Remove myself from the uploaders list, since I have no time
  anymore to look after this package.

[ David Paleino ]
* New upstream version.
* Bump debhelper compatibility to 9.
* Standards-Version bump to 3.9.4, no changes needed.
* Use canonical Vcs-* urls in debian/control.
* Updated debian/copyright.
* Install ReleaseNotes.txt as upstream changelog.
* Correctly clean up after builds.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: osmpbf/tools/Makefile
2
 
===================================================================
3
 
--- osmpbf.orig/tools/Makefile  2012-06-15 10:35:26.000000000 +0200
4
 
+++ osmpbf/tools/Makefile       2012-06-15 10:35:43.000000000 +0200
5
 
@@ -1,7 +1,7 @@
6
 
 
7
 
 CXX = g++
8
 
-CXXFLAGS = -g -I../include
9
 
-LDFLAGS = -L../src -lpthread -lz -lprotobuf-lite -losmpbf
10
 
+CXXFLAGS = $(shell dpkg-buildflags --get CXXFLAGS) -g -I../include
11
 
+LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) -L../src -lpthread -lz -lprotobuf-lite -losmpbf
12
 
 
13
 
 all: osmpbf-outline
14
 
 
15
 
Index: osmpbf/src/Makefile
16
 
===================================================================
17
 
--- osmpbf.orig/src/Makefile    2012-06-15 10:36:30.000000000 +0200
18
 
+++ osmpbf/src/Makefile 2012-06-15 10:36:43.000000000 +0200
19
 
@@ -1,6 +1,6 @@
20
 
 
21
 
 CXX = g++
22
 
-CXXFLAGS = -O3
23
 
+CXXFLAGS = $(shell dpkg-buildflags --get CXXFLAGS) -O3
24
 
 AR = ar
25
 
 
26
 
 all: libosmpbf.a ../include/osmpbf/fileformat.pb.h ../include/osmpbf/osmformat.pb.h