]> git.pld-linux.org Git - packages/php.git/commitdiff
- fix build on i686
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 24 Oct 2018 07:41:38 +0000 (07:41 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 24 Oct 2018 07:41:38 +0000 (07:41 +0000)
php.spec

index cac2f0166dd3d747bcca9ee019f1a6748dbf091f..26e69c160e01b43d09500ec3f21fdd0156595ca2 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -2240,6 +2240,11 @@ export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \
 CXXFLAGS="%{rpmcxxflags} -std=c++11"
 %endif
 
+# This should be detected by configure and set there,
+# but looks like the build system is hosed on 7.3
+export CXXFLAGS="%{rpmcxxflags} -fPIC -DPIC"
+export CFLAGS="%{rpmcflags} -fPIC -DPIC"
+
 sapis="
 cli
 %if %{with cgi}
This page took 0.079622 seconds and 4 git commands to generate.