translate: add an attr for regs that fail to be traced
[ia32rtools.git] / winelib.mak
index c89d68d..ed1f34d 100644 (file)
@@ -2,15 +2,15 @@
 CC = winegcc
 RC = wrc
 
-CFLAGS += -Wall -ggdb -fno-strict-aliasing -mno-cygwin
+CFLAGS += -Wall -g -gdwarf-2 -fno-strict-aliasing -mno-cygwin
 ifndef DEBUG
 CFLAGS += -O2
 endif
-LDFLAGS += -ggdb
+LDFLAGS += -g
 
 ifdef ARM
 CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=softfp -mfpu=neon
-CFLAGS += -Wno-unused
+CFLAGS += -Wno-unused -fsigned-char
 WGCC_FLAGS += -marm -b$(patsubst %-,%,$(CROSS_COMPILE))
 # wine defines wchar_t correctly, doesn't use -fshort-wchar, we can't too
 WGCC_FLAGS += -fno-short-wchar
@@ -26,6 +26,7 @@ LDFLAGS += -L$(WINEROOT)/lib/wine -L$(WINEROOT)/lib
 
 CVT_OPT = -a
 BUILTIN = 1
+export ARM
 else
 CFLAGS += -Wno-unused-but-set-variable
 CFLAGS += -m32