microwindows: fix compilation for ARM64
Remove the 'mstructure-size-boundary' flag. This flag is not supported in ARM64 toolchains, and without it the fbtest application works fine. https://jira.digi.com/browse/DEL-6498 Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
This commit is contained in:
parent
fb49af9d27
commit
dc8ec807cf
|
|
@ -0,0 +1,24 @@
|
||||||
|
From: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
|
||||||
|
Date: Fri, 2 Aug 2019 14:28:35 +0200
|
||||||
|
Subject: [PATCH] Arch.rules: remove 'mstructure-size-boundary' flag
|
||||||
|
|
||||||
|
This flag is not supported in ARM64 toolchains.
|
||||||
|
|
||||||
|
Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
|
||||||
|
---
|
||||||
|
Arch.rules | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/Arch.rules b/Arch.rules
|
||||||
|
index b01225d0f514..2fd57bf635b9 100644
|
||||||
|
--- a/Arch.rules
|
||||||
|
+++ b/Arch.rules
|
||||||
|
@@ -46,7 +46,7 @@ COMPILER = gcc
|
||||||
|
CXX_COMPILER = g++
|
||||||
|
TOOLSPREFIX = $(ARMTOOLSPREFIX)
|
||||||
|
DEFINES += -DLINUX=1 -DUNIX=1
|
||||||
|
-CFLAGS += $(GCC_WARNINGS) $(OPTFLAGS) -mstructure-size-boundary=8
|
||||||
|
+CFLAGS += $(GCC_WARNINGS) $(OPTFLAGS)
|
||||||
|
LDFLAGS +=
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
@ -11,6 +11,8 @@ SRC_URI = " \
|
||||||
file://0001-defconfig.patch;striplevel=2 \
|
file://0001-defconfig.patch;striplevel=2 \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
SRC_URI_append_aarch64 = " file://0002-Arch.rules-remove-mstructure-size-boundary-8-flag.patch; "
|
||||||
|
|
||||||
SRC_URI[md5sum] = "901e912cf3975f6460a9bb4325557645"
|
SRC_URI[md5sum] = "901e912cf3975f6460a9bb4325557645"
|
||||||
SRC_URI[sha256sum] = "c0a8473842fc757ff4c225f82b83d98bba5da0dca0cf843cfc7792064a393435"
|
SRC_URI[sha256sum] = "c0a8473842fc757ff4c225f82b83d98bba5da0dca0cf843cfc7792064a393435"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue