mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 02:53:10 -04:00
Port changes: - the version 1.5.0 now recognizes clang for amd64 so the patch files/patch-EnginePl_machine.h reduced but it is still needed for i386 build; - this version correctly defines NO_MACHINE_REG_FOR_REG_BANK and adds -fcommon for clang, so CFLAGS reduced too; - the patch files/patch-Ma2Asm_x86__64__any.c rebuilt for new code, it is still needed as build fails with an error without the patch: Fatal Error: Segmentation Violation (bad address: 0x100ec814853)
11 lines
513 B
C
11 lines
513 B
C
--- EnginePl/machine.h.orig 2015-01-13 18:00:19 UTC
|
|
+++ EnginePl/machine.h
|
|
@@ -124,7 +124,7 @@ void M_Check_Magic_Words(void); /* not c
|
|
# define M_USED_REGS {"$9", "$10", "$11", "$12", "$13", "$14", 0}
|
|
|
|
/* on M_ix86_darwin : %ebx is used by gcc for pic base */
|
|
-#elif defined(M_ix86) && !defined(_MSC_VER) && !defined(M_ix86_darwin)
|
|
+#elif defined(M_ix86) && !defined(_MSC_VER) && !defined(M_ix86_darwin) && !defined(__clang__)
|
|
|
|
#ifdef NO_USE_EBP
|
|
# define M_USED_REGS {"ebx", 0}
|