Modify patches
This commit is contained in:
parent
999f9a0ac5
commit
d7c51cc04d
@ -22,7 +22,7 @@ diff --git openjdk.orig///common/autoconf/flags.m4 openjdk///common/autoconf/fla
|
|||||||
+ # On 32-bit MacOSX the OS requires C-entry points to be 16 byte aligned.
|
+ # On 32-bit MacOSX the OS requires C-entry points to be 16 byte aligned.
|
||||||
+ # While waiting for a better solution, the current workaround is to use -mstackrealign
|
+ # While waiting for a better solution, the current workaround is to use -mstackrealign
|
||||||
+ # This is also required on Linux systems which use libraries compiled with SSE instructions
|
+ # This is also required on Linux systems which use libraries compiled with SSE instructions
|
||||||
+ REALIGN_CFLAG="-mincoming-stack-boundary=2 -mpreferred-stack-boundary=4"
|
+ REALIGN_CFLAG="-mstackrealign"
|
||||||
+ FLAGS_COMPILER_CHECK_ARGUMENTS([$REALIGN_CFLAG -Werror], [],
|
+ FLAGS_COMPILER_CHECK_ARGUMENTS([$REALIGN_CFLAG -Werror], [],
|
||||||
+ AC_MSG_ERROR([The selected compiler $CXX does not support -mstackrealign! Try to put another compiler in the path.])
|
+ AC_MSG_ERROR([The selected compiler $CXX does not support -mstackrealign! Try to put another compiler in the path.])
|
||||||
+ )
|
+ )
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
%define _lto_cflags %{nil}
|
||||||
# RPM conditionals so as to be able to dynamically produce
|
# RPM conditionals so as to be able to dynamically produce
|
||||||
# slowdebug/release builds. See:
|
# slowdebug/release builds. See:
|
||||||
# http://rpm.org/user_doc/conditional_builds.html
|
# http://rpm.org/user_doc/conditional_builds.html
|
||||||
|
Loading…
Reference in New Issue
Block a user