git: 4d5d8ecf39bc - main - misc/ecflow: Attempt to work around compilation failure on i386

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 28 Aug 2022 05:40:16 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4d5d8ecf39bc037fe4b4e13058bf0be44f1e9484

commit 4d5d8ecf39bc037fe4b4e13058bf0be44f1e9484
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-28 05:39:37 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-28 05:39:37 +0000

    misc/ecflow: Attempt to work around compilation failure on i386
    
    Reported by:    fallout
---
 misc/ecflow/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/misc/ecflow/Makefile b/misc/ecflow/Makefile
index a616d8999a16..a4b64958ea7f 100644
--- a/misc/ecflow/Makefile
+++ b/misc/ecflow/Makefile
@@ -23,6 +23,8 @@ SHEBANG_GLOB=	*.sh *.in *.py
 
 CMAKE_OFF=	ENABLE_STATIC_BOOST_LIBS ENABLE_TESTS ENABLE_ALL_TESTS
 
+CXXFLAGS_i386=	-fPIC # attempt to work around compilation failure, see https://jira.ecmwf.int/browse/SUP-3688
+
 CONFLICTS_BUILD=	python27 # build attempts to find python-2.7 and use it
 
 .include <bsd.port.mk>