File: 0002_dont_set_crosscompile.patch

package info (click to toggle)
optee-client 4.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 932 kB
  • sloc: ansic: 11,409; makefile: 410; xml: 113; sh: 33
file content (20 lines) | stat: -rw-r--r-- 825 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: don't set default cross compile
 The original makefile will set cross compile to armhf if CROSS_COMPILE
 is empty. But we want to use native compiler thus we remove that settings.
Author: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Bug-Debian: https://bugs.debian.org/868215
Last-Update: 2021-05-20

Index: optee-client-4.0.0/flags.mk
===================================================================
--- optee-client-4.0.0.orig/flags.mk
+++ optee-client-4.0.0/flags.mk
@@ -2,7 +2,7 @@
 # COMMON COMPILATION FLAGS                                              #
 #########################################################################
 
-CROSS_COMPILE   ?= arm-linux-gnueabihf-
+CROSS_COMPILE   ?= 
 CC              ?= $(CROSS_COMPILE)gcc
 AR		?= $(CROSS_COMPILE)ar
 PKG_CONFIG	?= $(CROSS_COMPILE)pkg-config