- Fix build on non-x86
PR: 239141 Submitted by: greg@unrelenting.technology
This commit is contained in:
parent
9c82a4abc4
commit
ebea3c7e7a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=515930
@ -21,11 +21,7 @@ LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \
|
||||
libfreetype.so:print/freetype2 \
|
||||
libenet.so:net/enet
|
||||
|
||||
BROKEN_aarch64= invokes x86 assembler
|
||||
BROKEN_mips= invokes x86 assembler
|
||||
BROKEN_mips64= invokes x86 assembler
|
||||
BROKEN_sparc64= invokes x86 assembler
|
||||
BROKEN_i386= does not build (error: this directive must appear between .cfi_startproc and .cfi_endproc directives)
|
||||
BROKEN_i386= does not build (error: this directive must appear between .cfi_startproc and .cfi_endproc directives)
|
||||
|
||||
USES= alias cmake compiler:c++11-lib gettext gl \
|
||||
jpeg openal:al pkgconfig sdl tar:xz xorg
|
||||
|
@ -1,12 +1,11 @@
|
||||
--- lib/angelscript/source/as_config.h.orig 2019-04-20 16:40:12 UTC
|
||||
--- lib/angelscript/source/as_config.h.orig 2019-07-11 00:36:27 UTC
|
||||
+++ lib/angelscript/source/as_config.h
|
||||
@@ -953,7 +953,9 @@
|
||||
@@ -953,7 +953,7 @@
|
||||
#define COMPLEX_RETURN_MASK (asOBJ_APP_CLASS_DESTRUCTOR | asOBJ_APP_CLASS_COPY_CONSTRUCTOR | asOBJ_APP_ARRAY)
|
||||
#define THISCALL_PASS_OBJECT_POINTER_ON_THE_STACK
|
||||
#define AS_X86
|
||||
+ #elif defined(__powerpc64__)
|
||||
+ #define AS_MAX_PORTABILITY
|
||||
#elif defined(__LP64__)
|
||||
- #elif defined(__LP64__)
|
||||
+ #elif defined(__x86_64__)
|
||||
#define AS_X64_GCC
|
||||
#define HAS_128_BIT_PRIMITIVES
|
||||
#define SPLIT_OBJS_BY_MEMBER_TYPES
|
||||
|
Loading…
Reference in New Issue
Block a user