You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by da...@apache.org on 2020/07/05 05:57:38 UTC

[openoffice] 04/04: Use the right environment variable for CPUNAME.

This is an automated email from the ASF dual-hosted git repository.

damjan pushed a commit to branch scons-build
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit 1500e9662f4df311373e75089313bebfd4b3b327
Author: Damjan Jovanovic <da...@apache.org>
AuthorDate: Sun Jul 5 05:13:47 2020 +0200

    Use the right environment variable for CPUNAME.
    
    Patch by: me
---
 main/site_scons/platform/windows.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/site_scons/platform/windows.py b/main/site_scons/platform/windows.py
index 6705b64..0a51d29 100644
--- a/main/site_scons/platform/windows.py
+++ b/main/site_scons/platform/windows.py
@@ -268,7 +268,7 @@ class Windows(aooplatform.Platform):
             '-NXCOMPAT',
             '-DYNAMICBASE',
         ]
-        if env['CPUNAME'] == 'INTEL':
+        if soenv['CPUNAME'] == 'INTEL':
             flags += ['-SAFESEH']
         return flags