--disable-asm flag not being fully honored

Jussi Kivilinna jussi.kivilinna at iki.fi
Fri Sep 20 11:44:18 CEST 2013

On 20.09.2013 12:07, Werner Koch wrote:
> On Fri, 20 Sep 2013 01:59, chris at chatsecure.org said:
>> When I use the --disable-asm flag it seems to not respect that setting when
>> compiling. I was finally able to get it to compile with clang by explicitly
>> also including the -DNO_ASM flag in CFLAGS.
> --disable-asm only disables the use of the MPI assembler modules but not
> of the other asm functions.
>> requiring an l-value: accepted due to
>>       -fheinous-gnu-extensions, but clang may remove support for this in
>> the future
> Clang should not pretend to be GCC (by defining __GNUC__) if it does not
> exactly behave like GCC.  I am very annoyed about that hijacking and the
> problems this creates for software maintainers.

Maybe we could add Clang detection to configure.ac and then #undef __GNUC__ if compiler is Clang. This would be because "GCC support" in Clang appears to be broken.


> Salam-Shalom,
>    Werner

More information about the Gcrypt-devel mailing list