зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1443823 Apply no-keep-inline-dllexport to MinGW x64 also r=glandium
MozReview-Commit-ID: 2Nyw738ZHou --HG-- extra : rebase_source : 4a18e47f8f1cb425864811230fd33c6620760021
This commit is contained in:
Родитель
5a3facd174
Коммит
333013f148
|
@ -797,11 +797,16 @@ case "$target" in
|
|||
;;
|
||||
esac
|
||||
|
||||
if test -n "$GNU_CC"; then
|
||||
CFLAGS="$CFLAGS -fno-keep-inline-dllexport"
|
||||
CXXFLAGS="$CXXFLAGS -fno-keep-inline-dllexport"
|
||||
fi
|
||||
|
||||
case "$target" in
|
||||
i*86-*)
|
||||
if test -n "$GNU_CC"; then
|
||||
CFLAGS="$CFLAGS -mstackrealign -fno-keep-inline-dllexport"
|
||||
CXXFLAGS="$CXXFLAGS -mstackrealign -fno-keep-inline-dllexport"
|
||||
CFLAGS="$CFLAGS -mstackrealign"
|
||||
CXXFLAGS="$CXXFLAGS -mstackrealign"
|
||||
LDFLAGS="$LDFLAGS -Wl,--large-address-aware"
|
||||
else
|
||||
DSO_LDOPTS="$DSO_LDOPTS -MACHINE:X86"
|
||||
|
|
|
@ -1041,11 +1041,16 @@ case "$target" in
|
|||
;;
|
||||
esac
|
||||
|
||||
if test -n "$GNU_CC"; then
|
||||
CFLAGS="$CFLAGS -fno-keep-inline-dllexport"
|
||||
CXXFLAGS="$CXXFLAGS -fno-keep-inline-dllexport"
|
||||
fi
|
||||
|
||||
case "$target" in
|
||||
i*86-*)
|
||||
if test -n "$GNU_CC"; then
|
||||
CFLAGS="$CFLAGS -mstackrealign -fno-keep-inline-dllexport"
|
||||
CXXFLAGS="$CXXFLAGS -mstackrealign -fno-keep-inline-dllexport"
|
||||
CFLAGS="$CFLAGS -mstackrealign"
|
||||
CXXFLAGS="$CXXFLAGS -mstackrealign"
|
||||
LDFLAGS="$LDFLAGS -Wl,--enable-stdcall-fixup -Wl,--large-address-aware"
|
||||
else
|
||||
DSO_LDOPTS="$DSO_LDOPTS -MACHINE:X86"
|
||||
|
|
Загрузка…
Ссылка в новой задаче