mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
cad/openvsp: fix build on arm*
-mimplicit-it=always breaks build on arm*. Remove it to fix build. PR: 241427 Reviewed by: fernape (maintainer), linimon (mentor)
This commit is contained in:
parent
d7abb1940f
commit
a5a5f16ac1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=515816
2 changed files with 10 additions and 2 deletions
|
@ -14,8 +14,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
|||
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
||||
|
||||
BROKEN_aarch64= fails to compile: invokes x86 asm
|
||||
BROKEN_armv6= fails to compile: invokes x86 asm
|
||||
BROKEN_armv7= fails to compile: invokes x86 asm
|
||||
|
||||
LIB_DEPENDS= libdrm.so:graphics/libdrm \
|
||||
libpng.so:graphics/png \
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
--- src/external/angelscript/sdk/CMakeLists.txt.orig 2019-10-23 07:44:07 UTC
|
||||
+++ src/external/angelscript/sdk/CMakeLists.txt
|
||||
@@ -124,7 +124,6 @@ if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm")
|
||||
enable_language(ASM)
|
||||
if(CMAKE_ASM_COMPILER_WORKS)
|
||||
set(ANGELSCRIPT_SOURCE ${ANGELSCRIPT_SOURCE} ./angelscript/source/as_callfunc_arm.cpp ./angelscript/source/as_callfunc_arm_gcc.S)
|
||||
- set_property(SOURCE ./angelscript/source/as_callfunc_arm_gcc.S APPEND PROPERTY COMPILE_FLAGS " -Wa,-mimplicit-it=always")
|
||||
else()
|
||||
message(FATAL ERROR "ARM target requires a working assembler")
|
||||
endif()
|
Loading…
Add table
Reference in a new issue