aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorMike Pall <mike>2010-01-22 01:56:49 +0100
committerMike Pall <mike>2010-01-22 01:56:49 +0100
commit43f1e134709b06be7091ad8f6cfaaaa78adec886 (patch)
tree38d5819e5a6406c66cc2cf91bb5465d552d1c37b /src/Makefile
parentc56811bb7acf40174ac9b63e69f58b42adf85bd7 (diff)
downloadluajit-43f1e134709b06be7091ad8f6cfaaaa78adec886.tar.gz
luajit-43f1e134709b06be7091ad8f6cfaaaa78adec886.tar.bz2
luajit-43f1e134709b06be7091ad8f6cfaaaa78adec886.zip
Integrate MinGW build with DWARF2 exception handling.
Only works with DWARF2-enabled GCC 4.x (not the default MinGW GCC). Fix fastcall symbol names for COFF assembler output. Add DWARF2 unwind info to COFF assembler output. Use COFF assembler mode for MinGW builds. Always enable the DWARF2 handler if compiled with GCC.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 96039ba0..da9d143b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -299,8 +299,7 @@ ifeq (Windows,$(HOST_SYS))
299endif 299endif
300ifeq (Windows,$(TARGET_SYS)) 300ifeq (Windows,$(TARGET_SYS))
301 TARGET_DYNCC= $(STATIC_CC) 301 TARGET_DYNCC= $(STATIC_CC)
302 LJVM_BOUT= $(LJVM_O) 302 LJVM_MODE= coffasm
303 LJVM_MODE= peobj
304 LUAJIT_SO= $(TARGET_DLLNAME) 303 LUAJIT_SO= $(TARGET_DLLNAME)
305 LUAJIT_T= luajit.exe 304 LUAJIT_T= luajit.exe
306 ifneq ($(HOST_SYS),$(TARGET_SYS)) 305 ifneq ($(HOST_SYS),$(TARGET_SYS))