[Bug 494148] Review Request: soci - The database access library for C++ programmers
bugzilla at redhat.com
bugzilla at redhat.com
Sat Apr 18 16:40:06 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=494148
--- Comment #14 from Denis Arnaud <denis.arnaud_fedora at m4x.org> 2009-04-18 12:40:05 EDT ---
(In reply to comment #13)
> * Fedora's optflags guidelines are still not adhered to -- only the mysql
> backend uses them.
I have fixed the configure.ac file: the CXXFLAGS was copied into CXXFLAGS_OPT
and then set to void. In the other side, the MySQL backend was compiled with
the correct flags, because that was what the `mysql_config --cflags` command
returned. But that latter may not be portable/consistent across all the
platforms.
The new configure.ac file does no longer override the CXXFLAGS, and I have
changed the ax_{mysql,postgresql}.m4 files, so that the cppflags only add the
"-I${includedir}" option when appropriate.
The updated files are here:
Spec URL: http://denisarnaud.fedorapeople.org/soci.spec
SRPM URL: http://denisarnaud.fedorapeople.org/soci-3.0.0-4.fc10.src.rpm
[Patch URLs:
http://denisarnaud.fedorapeople.org/soci-3.0.0-fix-gcc43-compatibility.patch
and
http://denisarnaud.fedorapeople.org/soci-3.0.0-fix-gnu-autotools-compatibility.patch
has been updated
]
And the corresponding Koji build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1306924 (i586) and
http://koji.fedoraproject.org/koji/taskinfo?taskID=1306926 (x86_64)
> * Since you've made ##heavy## use of _with/_without, you might be interested in
> learning about the %bcond_with/%bcond_without macros. See section "Conditional
> build stuff" in /usr/lib/rpm/macros.
I have read that section, and it may help reduce a little bit my usage of
_with/_without. Still, I have to figure how to replace part of those latter
with the %bcond_with/%bcond_without macros.
--
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