From edeadc28714f7109de42c2fe2f31acaac336cc02 Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 13 Apr 2015 00:30:06 +0300 Subject: [PATCH] minor fixes --- tools/protoparse.h | 2 +- winelib.mak | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.2