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