From: notaz Date: Sun, 12 Apr 2015 21:30:06 +0000 (+0300) Subject: minor fixes X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edeadc28714f7109de42c2fe2f31acaac336cc02;p=ia32rtools.git minor fixes --- diff --git a/tools/protoparse.h b/tools/protoparse.h index 511e337..308cccd 100644 --- a/tools/protoparse.h +++ b/tools/protoparse.h @@ -87,7 +87,7 @@ static int do_protostrs(FILE *fhdr, const char *fname, int is_include) hdrfn = fname; is_cinc = strstr(fname, "stdc.hlist") != NULL; - is_osinc = is_cinc || strstr(fname, "stdc.hlist") != NULL; + is_osinc = is_cinc || strstr(fname, "win32.hlist") != NULL; while (fgets(protostr, sizeof(protostr), fhdr)) { diff --git a/winelib.mak b/winelib.mak index a0558d3..ed1f34d 100644 --- a/winelib.mak +++ b/winelib.mak @@ -2,11 +2,11 @@ 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