~ubuntu-branches/ubuntu/saucy/gramophone2/saucy

« back to all changes in this revision

Viewing changes to debian/patches/makefile.patch

  • Committer: Package Import Robot
  • Author(s): Luke Yelavich, Alessandro Losavio
  • Date: 2013-05-29 11:36:49 UTC
  • mfrom: (3.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20130529113649-e3t8u3ce5ecjow5w
Tags: 0.8.13a-2ubuntu1
[ Alessandro Losavio ]
* Merge from Debian unstable. Remaining changes: (LP: #1091355)
  - Makefile: Fix linking with --as-needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
adds LDFLAGS to makefile
 
2
Index: gramophone2/Makefile
 
3
===================================================================
 
4
--- gramophone2.orig/Makefile   2012-08-12 21:54:14.886343552 +0200
 
5
+++ gramophone2/Makefile        2012-08-13 19:29:23.430691399 +0200
 
6
@@ -6,7 +6,7 @@
 
7
 DESTDIR=/usr/local
 
8
 
 
9
 default:               GRAMophone.tab.c
 
10
-                       $(CC) $(CFLAGS) -o gramophone2 GRAMophone.c\
 
11
+                       $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o gramophone2 GRAMophone.c\
 
12
                        grammyVM.c init.c midicode.c\
 
13
                        midifile.c expcode.c debug.c errors.c\
 
14
                        hash.c GRAMophone.tab.c