File: link-with-ldflags.patch

package info (click to toggle)
xphoon 20000613%2B0-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 696 kB
  • sloc: ansic: 3,947; makefile: 12; sh: 1
file content (19 lines) | stat: -rw-r--r-- 439 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: ensure LDFLAGS are used when linking binary
Author: Ricardo Mones <mones@debian.org>
Last-Update: 2014-09-30
Forwarded: not-needed

--- a/Imakefile
+++ b/Imakefile
@@ -10,9 +10,11 @@
 # implied warranty.
 
 
+DEFINES =		$(CPPFLAGS)
 INCLUDES =		-I. -I$(TOP) -I$(TOP)/X11 -I$(TOP)/X11/bitmaps
 LOCAL_LIBRARIES =	$(XLIB)
 DEPLIBS =		$(DEPXLIB)
+LDOPTIONS =		$(LDFLAGS)
 LDLIBS =		-lm
 
 SRCS =			xphoon.c moon.c phase.c dtime.c