Revision ac41a620

b/Makefile.target
73 73
PROGS=$(QEMU_PROG)
74 74

  
75 75
# We require -O2 to avoid the stack setup prologue in EXIT_TB
76
OP_CFLAGS := -Wall -Wundef -Wendif-labels -O2 -g -fno-strict-aliasing
76
OP_CFLAGS := -O2 -g -fno-strict-aliasing
77
OP_CFLAGS += -Wall -Wundef -Wendif-labels -Wwrite-strings
77 78

  
78 79
# cc-option
79 80
# Usage: OP_CFLAGS+=$(call cc-option, -falign-functions=0, -malign-functions=0)
b/configure
346 346
done
347 347

  
348 348
# default flags for all hosts
349
CFLAGS="$CFLAGS -Wall -Wundef -Wendif-labels -O2 -g -fno-strict-aliasing"
349
CFLAGS="$CFLAGS -O2 -g -fno-strict-aliasing"
350
CFLAGS="$CFLAGS -Wall -Wundef -Wendif-labels -Wwrite-strings"
350 351
LDFLAGS="$LDFLAGS -g"
351 352
if test "$werror" = "yes" ; then
352 353
CFLAGS="$CFLAGS -Werror"

Also available in: Unified diff