summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/optee/optee-os/0001-disable-libgcc-detection.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-bsp/meta-rcar-gen3/recipes-bsp/optee/optee-os/0001-disable-libgcc-detection.patch')
-rw-r--r--meta-agl-bsp/meta-rcar-gen3/recipes-bsp/optee/optee-os/0001-disable-libgcc-detection.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/optee/optee-os/0001-disable-libgcc-detection.patch b/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/optee/optee-os/0001-disable-libgcc-detection.patch
new file mode 100644
index 000000000..3a618904a
--- /dev/null
+++ b/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/optee/optee-os/0001-disable-libgcc-detection.patch
@@ -0,0 +1,15 @@
+diff --git a/mk/gcc.mk b/mk/gcc.mk
+index 76ad125..1f5bb2e 100644
+--- a/mk/gcc.mk
++++ b/mk/gcc.mk
+@@ -12,8 +12,8 @@ nostdinc$(sm) := -nostdinc -isystem $(shell $(CC$(sm)) \
+ -print-file-name=include 2> /dev/null)
+
+ # Get location of libgcc from gcc
+-libgcc$(sm) := $(shell $(CC$(sm)) $(CFLAGS$(arch-bits-$(sm))) $(comp-cflags$(sm)) \
+- -print-libgcc-file-name 2> /dev/null)
++#libgcc$(sm) := $(shell $(CC$(sm)) $(CFLAGS$(arch-bits-$(sm))) $(comp-cflags$(sm)) \
++# -print-libgcc-file-name 2> /dev/null)
+
+ # Define these to something to discover accidental use
+ CC := false