mirror of
https://git.freebsd.org/ports.git
synced 2025-07-01 09:30:30 -04:00
- Fix build for mips64 - Added License Changelog: https://github.com/pyinstaller/pyinstaller/blob/v3.4/doc/CHANGES.rst PR: 229948 Submitted by: ndowens@yahoo.com Sponsored by: iXsystems Inc.
20 lines
1 KiB
Text
20 lines
1 KiB
Text
--- bootloader/wscript.orig 2018-09-22 05:02:42 UTC
|
|
+++ bootloader/wscript
|
|
@@ -361,7 +361,7 @@ def set_arch_flags(ctx):
|
|
# or vice versa or with manually choosen --target-arch.
|
|
# Option -m32/-m64 has to be passed to cflags and linkflages.
|
|
elif ctx.env.PYI_ARCH == '32bit':
|
|
- if machine() in ('arm', 'aarch') and ctx.env.DEST_OS == 'linux':
|
|
+ if ctx.env.CC_NAME == "gcc":
|
|
# It was reported that flag '-m32' does not work with gcc
|
|
# on 32-bit arm Linux. So skip the -m32 flag.
|
|
pass
|
|
@@ -377,7 +377,7 @@ def set_arch_flags(ctx):
|
|
if ctx.env.DEST_OS == 'win32':
|
|
ctx.env.append_value('LINKFLAGS', '-Wl,--large-address-aware')
|
|
elif ctx.env.PYI_ARCH == '64bit':
|
|
- if machine() in ('arm', 'aarch') and ctx.env.DEST_OS == 'linux':
|
|
+ if ctx.env.CC_NAME == 'gcc':
|
|
# flag '-m64' does not work with gcc on 64-bit arm/aarch Linux.
|
|
pass
|
|
else:
|