[Bug 492815] Review Request: fife - Cross platform game creation framework
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jul 13 16:52:45 UTC 2009
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=492815
--- Comment #26 from Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> 2009-07-13 12:52:44 EDT ---
Well,
(In reply to comment #24)
> first: mock doesn't work since friday. (broken mirrors or whatever)
- Instead you can try koji scratch build (if you are not using
mock shell) as
$ koji build --scratch <target> <srpm_you_want_to_build>
where <target> can be dist-f12, dist-f11-updates-candidate,
dist-f10-updates-candidate or so.
If koji scratch build is successful, the rebuilt binary rpms are
put (for about one weeks) under
http://koji.fedoraproject.org/scratch/<your_FAS_name>/
> second: i haven't find the contact in upstream-team to solve the compiler flag
> problem.
> I thought CXXFlags="%{optflags}" as scons parameter would do the trick.
> Currently I don't know how I can use optflags with scons. Is it a fife config
> problem with scons? Mamoru, would you please help me again to solve this issue?
- Well,
* As I said in comment 23, build.log says:
-------------------------------------------------------------------------
119 g++ -o engine/core/audio/soundclip.os -c -fPIC -Wall -ggdb -O0
-D_GNU_SOURCE=1 -D_REENTRANT -DLOG_ENABLED -DHAVE_ZIP -DHAVE_OPENGL
-I/opt/include -I/usr/include/vorbis -I/usr/include/python2.6
-I/usr/include/SDL -Iext/install/include -Iengine/core -Iengine/swigwrappers
engine/core/audio/soundclip.cpp
-------------------------------------------------------------------------
* You can search what the compiler flags "-O0" comes from, for example,
as
$ grep -r -- '-O0' .
* Then you'll find it comes from ./SConstruct as:
--------------------------------------------------------------------------
134 if env['debug'] == 1:
135 env.Append(CPPFLAGS = ['-ggdb', '-O0'])
136 else:
137 if os.getenv('CXXFLAGS'):
138 env.Append(CPPFLAGS =
Split(os.environ['CXXFLAGS']))
139 else:
140 env.Append(CPPFLAGS = ['-O2'])
-------------------------------------------------------------------------
Perhaps fixing around these files will make Fedora cflags honored.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Fedora-package-review
mailing list