makeGcc: reinstate support for -no-multilib option

Patch contributed by Bruno Santos
Resolves bug-report https://bugs.openfoam.org/view.php?id=2943
This commit is contained in:
Henry Weller
2018-05-18 09:45:15 +01:00
parent 87e46ac8b4
commit fd02fb4797

View File

@ -3,7 +3,7 @@
# ========= | # ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration | # \\ / O peration |
# \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation # \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
# \\/ M anipulation | # \\/ M anipulation |
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# License # License
@ -71,7 +71,7 @@ USAGE
exit 1 exit 1
} }
GCC_BUILD_OPTIONS="" GCC_BUILD_OPTIONS="--enable-multilib"
# Parse options # Parse options
while [ "$#" -gt 0 ] while [ "$#" -gt 0 ]
@ -291,7 +291,6 @@ else
--enable-__cxa_atexit \ --enable-__cxa_atexit \
--enable-libstdcxx-allocator=new \ --enable-libstdcxx-allocator=new \
--with-system-zlib \ --with-system-zlib \
--enable-multilib \
$GCC_BUILD_OPTIONS \ $GCC_BUILD_OPTIONS \
MAKEINFO=missing \ MAKEINFO=missing \
&& make -j $WM_NCOMPPROCS \ && make -j $WM_NCOMPPROCS \