Mailinglist Archive: opensuse-bugs (5175 mails)

< Previous Next >
[Bug 519192] Fixing build of wine on AMD 64 platform
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 5 Jul 2009 12:15:54 -0600
  • Message-id: <20090705181554.943DC245513@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=519192

User dieter.jurzitza@xxxxxxxxxxx added comment
http://bugzilla.novell.com/show_bug.cgi?id=519192#c8





--- Comment #8 from Dieter Jurzitza <dieter.jurzitza@xxxxxxxxxxx> 2009-07-05
12:15:51 MDT ---
And the final one for today:
I prefer building with linux32, because this generates the i586 rpm's I can
distribute freely for 32-Bit machines, too.

As I understood the concerns against patching configure (what originally stem
from a lack of understanding on my side) I digged a little further and found a
simple solution:

%build
cat VERSION
TARGETFLAGS="$TARGETFLAGS -m32" \
LDFLAGS="$LDFLAGS -m32" \
CFLAGS="$RPM_OPT_FLAGS" \
/configure --prefix=/usr --libdir=/usr/lib --with-x --verbose
grep "have_x=yes" config.log || exit 1
make %{?jobs:-j%jobs} depend

setting LDFLAGS and TARGETFLAGS on configure's commandline within the specfile
there is no need for any patch within wine. And you get i586 rpm's when
issueing a

linux32 rpmbuild -ba wine.spec

This was my original intention, so this is (for me ...) the best of all
solutions.

Thank you for the discussion and finally helping me helping myself :-)

A good start into the new week,
patch against 1.125 attached.

Take care




Dieter Jurzitza

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References