https://bugs.winehq.org/show_bug.cgi?id=56692 Patrick <patrick+winehq.org(a)laimbock.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |patrick+winehq.org(a)laimbock | |.com --- Comment #7 from Patrick <patrick+winehq.org(a)laimbock.com> --- (In reply to Rosanne DiMesio from comment #3)
I had already tried appending "-Wno-error=incompatible-pointer-types" to %{optflags} in the spec file, but it didn't work.
Here's what I did to make it work: Add after the last 'export CFLAGS' in the spec file add: export CFLAGS="$(echo "$CFLAGS" -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types)" change the 'make' command to: %make_build TARGETFLAGS="" %{_arch}_CFLAGS="-g -O2 -Wno-error=incompatible-pointer-types -Wno-incompatible-pointer-types" HTH -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.