bsd.cpu.mk confusion

Ulrich Spoerlein spoerlein at informatik.uni-wuerzburg.de
Wed Jun 29 10:50:56 GMT 2005


Hi all,

I tried to use the /usr/share/mk stuff (works great!) but it fell over
when I switched to icc.

Here's a minimal Makefile

CPUTYPE=pentium-m
CC=     icc
.include <bsd.prog.mk>
.include <bsd.cpu.mk>

Then
% make -V CFLAGS
-O2 -fno-strict-aliasing -pipe -march=pentium-m  -tpp6 -xiMK

Only problem is, icc doesn't recognize -march. I can't figure out, why I
get this assignment. Running make with debugging output couldn't
enlight me either.

So, what am I doing wrong?

Ulrich Spoerlein
-- 
 PGP Key ID: F0DB9F44				Encrypted mail welcome!
Fingerprint: F1CE D062 0CA9 ADE3 349B  2FE8 980A C6B5 F0DB 9F44
Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."
didn't you understand?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050629/f7f4a582/attachment.bin


More information about the freebsd-current mailing list