[PATCH] Fix constant division for AMD64 assembly on Solaris/x86
jussi.kivilinna at iki.fi
Thu Jan 9 17:20:54 CET 2014
On 07.01.2014 17:30, Richard PALO wrote:
> Le 05/01/14 17:43, Jussi Kivilinna a écrit :
> Hi, I needed to adjust your patch a bit to work, namely CFLAGS => CPPFLAGS and a bit of logic after the -Wa,--divide test as follows:
>> + if test "$gcry_cv_gcc_as_const_division_with_wadivide_ok" = "no" ; then
>> + CPPFLAGS="$_gcc_cppflags_save"
>> + fi
Ah, configure.ac checks are inline assembly in C-language; so CFLAGS are used there. But CPPFLAGS are used for *.S assembly files. Does attached patch work? It modifies CFLAGS for the check and applies the workaround to CPPFLAGS if needed.
> this seems to be alright for me now..
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6654 bytes
Desc: not available
More information about the Gcrypt-devel