View | Details | Raw Unified | Return to bug 112997 | Differences between
and this patch

Collapse All | Expand All

(-)share/mk/bsd.cpu.mk (+8 lines)
Lines 18-23 Link Here
18
. endif
18
. endif
19
.else
19
.else
20
20
21
# Handle 'native' by converting it to the appropriate CPUTYPE
22
23
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
24
. if ${CPUTYPE} == "native"
25
CPUTYPE != gcc -v -x c -E -mtune=native /dev/null -o /dev/null 2>&1 | grep mtune | sed -e 's/.*mtune=//'
26
. endif
27
.endif
28
21
# Handle aliases (not documented in make.conf to avoid user confusion
29
# Handle aliases (not documented in make.conf to avoid user confusion
22
# between e.g. i586 and pentium)
30
# between e.g. i586 and pentium)
23
31

Return to bug 112997