File: 0007-Skip-libjit-when-we-re-cross-building.patch

package info (click to toggle)
cross-gcc 249
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 892 kB
  • sloc: sh: 564; makefile: 196
file content (27 lines) | stat: -rw-r--r-- 628 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 347badbc7abdcbdd0d3e43d4282953637396858a Mon Sep 17 00:00:00 2001
From: Dima Kogan <dima@secretsauce.net>
Date: Mon, 27 Apr 2015 11:08:31 -0700
Subject: [PATCH 07/10] Skip libjit when we're cross-building

---
 debian/rules.defs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules.defs b/debian/rules.defs
index 2440158..b42772f 100644
--- a/debian/rules.defs
+++ b/debian/rules.defs
@@ -727,7 +727,9 @@ endif
 # C ---------------------------
 enabled_languages := c
 
-with_jit = yes
+ifneq ($(DEB_CROSS),yes)
+  with_jit = yes
+endif
 
 # FIXME: compiler bug
 # m68k: PR 95381
-- 
2.42.0