bsd.cpu.mk confusion

From: Ulrich Spoerlein <spoerlein_at_informatik.uni-wuerzburg.de>
Date: Wed, 29 Jun 2005 12:50:52 +0200
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?

Received on Wed Jun 29 2005 - 08:50:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:37 UTC