Package: prank / 0.0.170427+dfsg-3

cross.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Helmut Grohne <helmut@subdivi.de>
Last-Update: Sun, 27 May 2018 14:25:23 +0200
Bug-Debian: https://bugs.debian.org/900191
Description: Enable cross building

--- a/src/Makefile
+++ b/src/Makefile
@@ -10,7 +10,7 @@ DEFINES       =
 CFLAGS       += -pipe -O3 $(DEFINES)
 CXXFLAGS     += -std=gnu++98 -pipe -O3 $(DEFINES)
 INCPATH       = -I. -I/usr/include
-LINK          = g++
+LINK          = $(CXX)
 #LFLAGS        = -m64
 LIBS          = $(SUBLIBS)    
 AR            = ar cqs