From 525f3f4e67aa2a9400d9ba73dd00ff42283c4110 Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@esi-group.com>
Date: Thu, 16 Dec 2021 10:33:34 +0100
Subject: [PATCH] COMP: use 'address-model=64' for boost mingw cross-compile

- a name clash since it tries to build both 32/64 bit versions

https://stackoverflow.com/questions/28398390/boost-build-breaks-name-clash-for-pstage-liblibboost-system-so-1-58-0
---
 makeCGAL | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/makeCGAL b/makeCGAL
index ef802ae..4ad2dbb 100755
--- a/makeCGAL
+++ b/makeCGAL
@@ -354,7 +354,7 @@ else
                 # For build
                 echo "using gcc : mingw : ${c_compiler} ;" > user-config.jam
                 buildOpt="--user-config=user-config.jam toolset=gcc"
-                buildOpt="$buildOpt target-os=windows release"
+                buildOpt="$buildOpt address-model=64 target-os=windows release"
                 ;;
 
             (*)
-- 
GitLab