ports/lang/qt5-qml/files/patch-src_3rdparty_masm_assembler_ARMv7Assembler.h
Tobias C. Berner ec341b21d1 Fix build on armv6
PR:		216735
Submitted by:	Mikaël Urankar <mikael.urankar at gmail.com>
2017-06-03 10:06:10 +00:00

11 lines
399 B
C

--- src/3rdparty/masm/assembler/ARMv7Assembler.h.orig 2016-09-12 04:21:49 UTC
+++ src/3rdparty/masm/assembler/ARMv7Assembler.h
@@ -2311,6 +2311,8 @@ public:
UNUSED_PARAM(code);
UNUSED_PARAM(size);
#endif
+#elif OS(FREEBSD) && COMPILER(CLANG)
+ __clear_cache(code, reinterpret_cast<char*>(code) + size);
#else
#error "The cacheFlush support is missing on this platform."
#endif