http://bugs.winehq.org/show_bug.cgi?id=31446
--- Comment #4 from guardiano@centrum.cz 2012-08-12 07:14:49 CDT ---
Optimization I have set in makepkg (which makes packages for system ARCH) to:
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" CXXFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro" #-- Make Flags: change this for DistCC/SMP systems MAKEFLAGS="-j3"
I tried to remove and --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2, but without result.
distribution PKGBUILD contains the following adjustments:
# These additional CFLAGS solve FS#27662 export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -D_FORTIFY_SOURCE=0" export CXXFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -D_FORTIFY_SOURCE=0"
./configure --prefix=/usr --sysconfdir=/etc --with-x "${_wine32opts[@]}"
# These additional CFLAGS solve FS#27560 make CFLAGS+="-mstackrealign" CXXFLAGS+="-mstackrealign"