SPECS: ruby-mongrel.spec - need -fPIC on amd64
glen
glen at pld-linux.org
Sat May 3 19:32:08 CEST 2008
Author: glen Date: Sat May 3 17:32:08 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- need -fPIC on amd64
---- Files affected:
SPECS:
ruby-mongrel.spec (1.15 -> 1.16)
---- Diffs:
================================================================
Index: SPECS/ruby-mongrel.spec
diff -u SPECS/ruby-mongrel.spec:1.15 SPECS/ruby-mongrel.spec:1.16
--- SPECS/ruby-mongrel.spec:1.15 Sat May 3 19:10:18 2008
+++ SPECS/ruby-mongrel.spec Sat May 3 19:32:02 2008
@@ -16,6 +16,8 @@
%{?ruby_mod_ver_requires_eq}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# passing CFLAGS breaks -fPIC parsing, patch mkmf module to be able to pass CC and OPTFLAgs
+
%define ruby_config {\
%{__ruby} setup.rb config \
--prefix=%{_prefix} \
@@ -27,7 +29,7 @@
--localstatedir=%{_localstatedir} \
--rbdir=%{ruby_rubylibdir} \
--sodir=%{ruby_archdir} \
- --make-prog="%{__make} CC=\"%{__cc}\" CFLAGS=\"%{rpmcflags}\"" \
+ --make-prog="%{__make} CC=\"%{__cc}\"" \
}
%define ruby_setup { \
@@ -77,6 +79,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.16 2008-05-03 17:32:02 glen
+- need -fPIC on amd64
+
Revision 1.15 2008-05-03 17:10:18 glen
- CC/CFLAGS
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ruby-mongrel.spec?r1=1.15&r2=1.16&f=u
More information about the pld-cvs-commit
mailing list