File: 0003_cross.patch

package info (click to toggle)
xevil 2.02r2-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,888 kB
  • sloc: cpp: 47,789; makefile: 189; csh: 4
file content (16 lines) | stat: -rw-r--r-- 474 bytes parent folder | 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: 2022-04-25
Bug-Debian: https://bugs.debian.org/1010181
Description: Do not hard code the build architecture compiler

--- xevil-2.02r2.orig/config.mk
+++ xevil-2.02r2/config.mk
@@ -257,7 +257,7 @@
 
 #For debian-linux
 debian-linux:
-	@$(MAKE) CC="g++" \
+	@$(MAKE) CC="$(CXX)" \
 CFLAGS="-DUSE_RANDOM -DXEVIL_KEYSET=UIlinux -DUSE_UINT_NET_LENGTH" \
 INCL_DIRS="-I/usr/X11R6/include" \
 LIBS_DIRS="-L/usr/X11R6/lib" \