Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:cpanel:dev:EA4
scl-php56-php-phalcon
0001-Ensure-Phalcon-is-built-so-that-it-support...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Ensure-Phalcon-is-built-so-that-it-supports-older-CP.patch of Package scl-php56-php-phalcon
From dc11f74d736eb6194a90701a73a27d70461bfb79 Mon Sep 17 00:00:00 2001 From: Tim Mullin <tim@cpanel.net> Date: Thu, 9 May 2019 21:14:37 -0500 Subject: [PATCH] Ensure Phalcon is built so that it supports older CPUs. --- build/install | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build/install b/build/install index e89b6db..566863d 100755 --- a/build/install +++ b/build/install @@ -23,10 +23,11 @@ # ./install --phpize /usr/bin/phpize5.6 --php-config /usr/bin/php-config5.6 --arch 32bits export CC="gcc" +export CFLAGS="-O2 -fomit-frame-pointer" # Check best compilation flags for GCC. # -# By default we compile to be as compatible as possible with all processors. +# By default we compile to be as compatible as possible with all processors. # If you would like instruct the compiler to generate optimized machine code # that matches the processor where it is currently running on you can set your # own compile flags by exporting CFLAGS before the build. @@ -36,7 +37,7 @@ export CC="gcc" # # This will generate the best possible code for that chipset but will likely # break the compiled object on older chipsets. -if [ -z "$CFLAGS" ] +if [ -z "$CFLAGS" ] then export CFLAGS="-mtune=native -O2 -fomit-frame-pointer" fi @@ -97,7 +98,7 @@ gcc ${CFLAGS} t.c -o t 2> t.t if [ $? != 0 ]; then chmod +x gcccpuopt BFLAGS=`./gcccpuopt` - export CFLAGS="-O2 -fomit-frame-pointer $BFLAGS" + export CFLAGS="-O2 -fomit-frame-pointer" gcc ${CFLAGS} t.c -o t 2> t.t if [ $? != 0 ]; then export CFLAGS="-O2" -- 2.21.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor