[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] NOCFLAGS $(MODEL)



Hello.

Seen in FreeMiNT's files:
sys/Makefiles.objs
sys/arch/Makefiles.objs
sys/libkern/Makefiles.objs

Stuff like:
NOCFLAGS-md5.c = $(MODEL)
CFLAGS-md5.c = -m68000

This has the effect of removing the specific CPU option, and use -m68000 instead. So those files are not optimized for the target CPU :-(

Does this make sense, for C files ?
If some of these files does no compile due to inline assembly, the offending parts should be patched accordingly.

As a test, I have removed all those specific cases for ColdFire and everything works well.
I would be tempted to remove that specific stuff for all the CPU variants.

Any comments ?

--
Vincent Rivière