http://bugs.winehq.org/show_bug.cgi?id=22890
--- Comment #14 from Richard shiningarcanine@gmail.com 2010-05-30 18:12:49 --- Specifying CFLAGS from the commandline was a hack to get the system to build WINE with frame pointers (i.e. without -fomit-frame-pointer). WINE had been installed without it and -fomit-frame-pointer had been passed to the system compiler according to the build log. Specifying different CFLAGS via the commandline (or even modifying the system CFLAGS altogether) to omit -fomit-frame-pointer from the CFLAGS (i.e. to include frame pointers) is what makes the system build it without build it without -fomit-frame-pointer (i.e. with frame pointers).
Again, whether or not WINE is built without frame pointers when -fomit-frame-pointer is specified in the CFLAGS on Gentoo Linux is not a WINE issue (i.e. it is a Gentoo Linux issue), but the fact that the Macromedia Dreamweaver 8.02 update will not install on WINE with or without frame pointers is a WINE issue. Discussion of whether or not the system package manager builds WINE with -fomit-frame-pointer on Gentoo Linux systems with -fomit-frame-pointer specified in the system CFLAGS should occur in the bug report at the Gentoo Linux bug tracker.