Source-Changes-HG archive

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

[src/trunk]: src/share/mk -mcmodel option is CPU specific not machine specific.



details:   https://anonhg.NetBSD.org/src/rev/2efd08ce7216
branches:  trunk
changeset: 327540:2efd08ce7216
user:      nakayama <nakayama%NetBSD.org@localhost>
date:      Mon Mar 10 12:13:14 2014 +0000

description:
-mcmodel option is CPU specific not machine specific.

diffstat:

 share/mk/bsd.kmodule.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5abc14d29ee0 -r 2efd08ce7216 share/mk/bsd.kmodule.mk
--- a/share/mk/bsd.kmodule.mk   Mon Mar 10 12:02:36 2014 +0000
+++ b/share/mk/bsd.kmodule.mk   Mon Mar 10 12:13:14 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.kmodule.mk,v 1.42 2014/02/21 20:44:03 joerg Exp $
+#      $NetBSD: bsd.kmodule.mk,v 1.43 2014/03/10 12:13:14 nakayama Exp $
 
 # We are not building this with PIE
 MKPIE=no
@@ -36,7 +36,7 @@
 CFLAGS+=       -fno-pic
 .endif
 
-.if ${MACHINE} == "sparc64"
+.if ${MACHINE_CPU} == "sparc64"
 # force same memory model as rest of the kernel
 CFLAGS+=       ${${ACTIVE_CC} == "gcc":? -mcmodel=medlow :}
 CFLAGS+=       ${${ACTIVE_CC} == "clang":? -mcmodel=small :}



Home | Main Index | Thread Index | Old Index