summaryrefslogtreecommitdiffstats
path: root/php72.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-08-23 08:17:37 +0200
committerRemi Collet <remi@remirepo.net>2018-08-23 08:17:37 +0200
commitc57e4e20b7e3c4feb9745f18a305928b7ce99149 (patch)
treea20d1c4ba5a3d2dbe2b484960be368b5d7dc13ba /php72.spec
parentd3e7a7cda223a6cf6df4b384d344549387080036 (diff)
drop -mstackrealign option, workaround to #1593144
Diffstat (limited to 'php72.spec')
-rw-r--r--php72.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/php72.spec b/php72.spec
index 92b93f5..9414471 100644
--- a/php72.spec
+++ b/php72.spec
@@ -117,7 +117,7 @@
Summary: PHP scripting language for creating dynamic web sites
Name: php
Version: %{upver}%{?rcver:~%{rcver}}
-Release: 1%{?dist}
+Release: 2%{?dist}
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
@@ -1253,9 +1253,10 @@ touch configure.ac
%if %{with_debug}
LDFLAGS="-fsanitize=address"
export LDFLAGS
-CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign -fsanitize=address -ggdb"
+CFLAGS=$(echo $RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign -fsanitize=address -ggdb | sed 's/-mstackrealign//')
%else
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign"
+CFLAGS=$(echo $RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign | sed 's/-mstackrealign//')
%endif
export CFLAGS
@@ -2142,6 +2143,9 @@ fi
%changelog
+* Wed Aug 22 2018 Remi Collet <remi@remirepo.net> - 7.2.9-2
+- drop -mstackrealign option, workaround to #1593144
+
* Wed Aug 15 2018 Remi Collet <remi@remirepo.net> - 7.2.9-1
- Update to 7.2.9 - http://www.php.net/releases/7_2_9.php