winegcc: Pass -static-libstdc++ to the linker.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cc06703e3a
commit
590ccd0f5c
|
@ -71,8 +71,9 @@
|
|||
*
|
||||
* Linker Options
|
||||
* object-file-name -llibrary -nostartfiles -nodefaultlibs
|
||||
* -nostdlib -s -static -static-libgcc -shared -shared-libgcc
|
||||
* -symbolic -Wl,option -Xlinker option -u symbol --image-base
|
||||
* -nostdlib -s -static -static-libgcc -static-libstdc++
|
||||
* -shared -shared-libgcc -symbolic -Wl,option
|
||||
* -Xlinker option -u symbol --image-base
|
||||
*
|
||||
* Directory Options
|
||||
* -Bprefix -Idir -I- -Ldir -specs=file
|
||||
|
@ -1288,8 +1289,9 @@ static int is_linker_arg(const char* arg)
|
|||
{
|
||||
static const char* link_switches[] =
|
||||
{
|
||||
"-nostdlib", "-s", "-static", "-static-libgcc", "-shared", "-shared-libgcc", "-symbolic",
|
||||
"-framework", "--coverage", "-fprofile-generate", "-fprofile-use"
|
||||
"-nostdlib", "-s", "-static", "-static-libgcc", "-static-libstdc++",
|
||||
"-shared", "-shared-libgcc", "-symbolic", "-framework", "--coverage",
|
||||
"-fprofile-generate", "-fprofile-use"
|
||||
};
|
||||
unsigned int j;
|
||||
|
||||
|
|
Loading…
Reference in New Issue