This commit is contained in:
parent
e18a5858c9
commit
94e20be7b6
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ build() {
|
||||||
|
|
||||||
# Avoid optimization of HotSpot to be lowered from O3 to O2
|
# Avoid optimization of HotSpot to be lowered from O3 to O2
|
||||||
local _CFLAGS="${CFLAGS//-O2/-O3} ${CPPFLAGS} -fcommon"
|
local _CFLAGS="${CFLAGS//-O2/-O3} ${CPPFLAGS} -fcommon"
|
||||||
local _CXXFLAGS="${CXXFLAGS//-O2/-O3} ${CPPFLAGS} -fcommon"
|
local _CXXFLAGS="${CXXFLAGS//-O2/-O3} ${CPPFLAGS} -fcommon -fno-inline"
|
||||||
local _LDFLAGS=${LDFLAGS}
|
local _LDFLAGS=${LDFLAGS}
|
||||||
if [[ ${CARCH} = i686 ]]; then
|
if [[ ${CARCH} = i686 ]]; then
|
||||||
echo "Removing '-fno-plt' from CFLAGS and CXXFLAGS to prevent build fail with this architecture"
|
echo "Removing '-fno-plt' from CFLAGS and CXXFLAGS to prevent build fail with this architecture"
|
||||||
|
|
Loading…
Add table
Reference in a new issue