File: fix_linker_flags.patch

package info (click to toggle)
cba 0.3.6-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 544 kB
  • sloc: xml: 6,905; cpp: 5,156; makefile: 45
file content (17 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: add -lm for binutils-gold in src/gui/Makefile
Bug-Debian: https://bugs.debian.org/601806
            https://bugs.debian.org/615700
Author: Ferdinand Griffon <idf.dresden@gmx.net>
Last-Update: Tue, 15 Mar 2011 11:36:26 +0000

--- a/src/gui/Makefile
+++ b/src/gui/Makefile
@@ -1,7 +1,7 @@
 # makefile for cba-gtk
 CXX	:= gcc
 CXXFLAGS := `wx-config --cflags` -Wall -g -Os 
-LDFLAGS := `wx-config --libs` -s -lstdc++
+LDFLAGS := `wx-config --libs` -s -lstdc++ -lm
 
 SRCDIR=$(CURDIR)