configure: Pass the -fasynchronous-unwind-tables flag to winegcc when supported.
This commit is contained in:
parent
5288196f78
commit
6c14238728
|
@ -61,7 +61,6 @@ ALLCFLAGS = $(INCLUDES) $(DEFS) $(DLLFLAGS) $(EXTRACFLAGS) $(CPPFLAGS) $(CFLA
|
||||||
ALLLINTFLAGS = $(INCLUDES) $(DEFS) $(LINTFLAGS)
|
ALLLINTFLAGS = $(INCLUDES) $(DEFS) $(LINTFLAGS)
|
||||||
IDLFLAGS = $(INCLUDES) $(DEFS) $(EXTRAIDLFLAGS)
|
IDLFLAGS = $(INCLUDES) $(DEFS) $(EXTRAIDLFLAGS)
|
||||||
TARGETFLAGS = @TARGETFLAGS@
|
TARGETFLAGS = @TARGETFLAGS@
|
||||||
WINEBUILDFLAGS = $(TARGETFLAGS) $(DLLFLAGS)
|
|
||||||
MKINSTALLDIRS= $(TOPSRCDIR)/tools/mkinstalldirs -m 755
|
MKINSTALLDIRS= $(TOPSRCDIR)/tools/mkinstalldirs -m 755
|
||||||
WINAPI_CHECK = $(TOPSRCDIR)/tools/winapi/winapi_check
|
WINAPI_CHECK = $(TOPSRCDIR)/tools/winapi/winapi_check
|
||||||
BUILDICON = $(TOPSRCDIR)/tools/buildicon
|
BUILDICON = $(TOPSRCDIR)/tools/buildicon
|
||||||
|
@ -73,7 +72,7 @@ MAKECTESTS = $(TOOLSDIR)/tools/make_ctests$(TOOLSEXT)
|
||||||
WRC = $(TOOLSDIR)/tools/wrc/wrc$(TOOLSEXT)
|
WRC = $(TOOLSDIR)/tools/wrc/wrc$(TOOLSEXT)
|
||||||
WMC = $(TOOLSDIR)/tools/wmc/wmc$(TOOLSEXT)
|
WMC = $(TOOLSDIR)/tools/wmc/wmc$(TOOLSEXT)
|
||||||
WIDL = $(TOOLSDIR)/tools/widl/widl$(TOOLSEXT)
|
WIDL = $(TOOLSDIR)/tools/widl/widl$(TOOLSEXT)
|
||||||
WINEGCC = $(TOOLSDIR)/tools/winegcc/winegcc $(TARGETFLAGS) -B$(TOOLSDIR)/tools/winebuild --sysroot=$(TOPOBJDIR)
|
WINEGCC = $(TOOLSDIR)/tools/winegcc/winegcc $(TARGETFLAGS) -B$(TOOLSDIR)/tools/winebuild --sysroot=$(TOPOBJDIR) @UNWINDFLAGS@
|
||||||
CROSSWINEGCC = $(TOOLSDIR)/tools/winegcc/winegcc $(CROSSTARGET:%=-b %) -B$(TOOLSDIR)/tools/winebuild --sysroot=$(TOPOBJDIR) --lib-suffix=.cross.a
|
CROSSWINEGCC = $(TOOLSDIR)/tools/winegcc/winegcc $(CROSSTARGET:%=-b %) -B$(TOOLSDIR)/tools/winebuild --sysroot=$(TOPOBJDIR) --lib-suffix=.cross.a
|
||||||
RELPATH = $(TOOLSDIR)/tools/relpath$(TOOLSEXT)
|
RELPATH = $(TOOLSDIR)/tools/relpath$(TOOLSEXT)
|
||||||
SFNT2FNT = $(TOOLSDIR)/tools/sfnt2fnt$(TOOLSEXT)
|
SFNT2FNT = $(TOOLSDIR)/tools/sfnt2fnt$(TOOLSEXT)
|
||||||
|
|
|
@ -607,6 +607,7 @@ SOCKETLIBS
|
||||||
CRTLIBS
|
CRTLIBS
|
||||||
TOOLSEXT
|
TOOLSEXT
|
||||||
LDPATH
|
LDPATH
|
||||||
|
UNWINDFLAGS
|
||||||
BUILTINFLAG
|
BUILTINFLAG
|
||||||
EXTRACFLAGS
|
EXTRACFLAGS
|
||||||
LIBKSTAT
|
LIBKSTAT
|
||||||
|
@ -12195,6 +12196,8 @@ then
|
||||||
|
|
||||||
$as_echo "#define __ASM_CFI(str) str" >>confdefs.h
|
$as_echo "#define __ASM_CFI(str) str" >>confdefs.h
|
||||||
|
|
||||||
|
UNWINDFLAGS=-fasynchronous-unwind-tables
|
||||||
|
|
||||||
else
|
else
|
||||||
$as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
|
$as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
|
||||||
|
|
||||||
|
@ -13932,6 +13935,7 @@ esac
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ac_config_commands="$ac_config_commands include/stamp-h"
|
ac_config_commands="$ac_config_commands include/stamp-h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1693,6 +1693,7 @@ then
|
||||||
asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
|
asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
|
||||||
asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
|
asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
|
||||||
AC_DEFINE([__ASM_CFI(str)],[str],[Define to a macro to output a .cfi assembly pseudo-op])
|
AC_DEFINE([__ASM_CFI(str)],[str],[Define to a macro to output a .cfi assembly pseudo-op])
|
||||||
|
AC_SUBST([UNWINDFLAGS],[-fasynchronous-unwind-tables])
|
||||||
else
|
else
|
||||||
AC_DEFINE([__ASM_CFI(str)],[""])
|
AC_DEFINE([__ASM_CFI(str)],[""])
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue