File: cross-build.patch

package info (click to toggle)
amphetamine 0.8.10-22
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,108 kB
  • sloc: cpp: 9,038; makefile: 106; sh: 31
file content (15 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
description: cross building was not possible since linker was hardcoded to g++ 
author: Helmut Grohne <helmut@subdivi.de>
bug: http://bugs.debian.org/930516

--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ SEARCHDIRS := -iquote . -I${MYCODEDIR} -
 
 # makemake variables
 
-LINKER       := g++
+LINKER       := $(CXX)
 DEPENDFLAGS  := -g  ${SEARCHDIRS}
 TOUCHHEADERS := ${MYCODEDIR}/*.h