Move -DNO_ASM to config.h?
Marc Glisse
marc.glisse at inria.fr
Sat Mar 19 17:43:14 UTC 2016
Hello,
when configure wants to define a macro, it usually puts it in config.h. We
do have one exception: NO_ASM, which ends up defined in CFLAGS. Was there
a particular reason for this choice?
When gcc compiles gmp as part of its bootstrap, it calls:
make CFLAGS=-g OTHER_FLAGS=... etc
which overrides the definition of NO_ASM and fails quite badly.
I don't like what gcc is doing there, but it made me aware of this special
handling for the macro NO_ASM.
--
Marc Glisse
More information about the gmp-devel
mailing list