Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Don't pass assembler flags to genassym, it doesn't compile.
details: https://anonhg.NetBSD.org/src/rev/4bc4a85c08e4
branches: trunk
changeset: 778411:4bc4a85c08e4
user: joerg <joerg%NetBSD.org@localhost>
date: Sun Mar 25 06:55:19 2012 +0000
description:
Don't pass assembler flags to genassym, it doesn't compile.
diffstat:
lib/csu/common/Makefile.inc | 4 ++--
sys/conf/Makefile.kern.inc | 6 +++---
sys/modules/Makefile.assym | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diffs (62 lines):
diff -r 41d1a25097de -r 4bc4a85c08e4 lib/csu/common/Makefile.inc
--- a/lib/csu/common/Makefile.inc Sun Mar 25 06:54:04 2012 +0000
+++ b/lib/csu/common/Makefile.inc Sun Mar 25 06:55:19 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.6 2012/01/31 20:08:28 uwe Exp $
+# $NetBSD: Makefile.inc,v 1.7 2012/03/25 06:55:19 joerg Exp $
.include <bsd.own.mk>
@@ -68,7 +68,7 @@
sysident_assym.h: ${GENASSYM_CONF} ${GENASSYM_EXTRAS}
${_MKTARGET_CREATE}
cat ${COMMON_DIR}/sysident_assym.cf | \
- ${TOOL_GENASSYM} -- ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
+ ${TOOL_GENASSYM} -- ${CC} ${CFLAGS:N-Wa,*} ${CPPFLAGS} ${PROF} \
> sysident_assym.h.tmp && \
mv -f sysident_assym.h.tmp sysident_assym.h
diff -r 41d1a25097de -r 4bc4a85c08e4 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc Sun Mar 25 06:54:04 2012 +0000
+++ b/sys/conf/Makefile.kern.inc Sun Mar 25 06:55:19 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.kern.inc,v 1.154 2012/03/25 01:56:02 uebayasi Exp $
+# $NetBSD: Makefile.kern.inc,v 1.155 2012/03/25 06:55:20 joerg Exp $
#
# This file contains common `MI' targets and definitions and it is included
# at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -322,7 +322,7 @@
assym.h: ${GENASSYM_CONF} ${GENASSYM_EXTRAS}
${_MKTARGET_CREATE}
cat ${GENASSYM_CONF} ${GENASSYM_EXTRAS} | \
- ${GENASSYM} -- ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
+ ${GENASSYM} -- ${CC} ${CFLAGS:N-Wa,*} ${CPPFLAGS} ${PROF} \
> assym.h.tmp && \
mv -f assym.h.tmp assym.h
${MD_SFILES:C/\.[Ss]/.o/} ${SFILES:C/\.[Ss]/.o/}: assym.h
@@ -428,7 +428,7 @@
${_MKTARGET_CREATE}
cat ${GENASSYM_CONF} ${GENASSYM_EXTRAS} | \
${GENASSYM} -- ${MKDEP} -f assym.dep -- \
- ${CFLAGS} ${CPPFLAGS}
+ ${CFLAGS:N-Wa,*} ${CPPFLAGS}
${TOOL_SED} -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >${.TARGET}
rm -f assym.dep
diff -r 41d1a25097de -r 4bc4a85c08e4 sys/modules/Makefile.assym
--- a/sys/modules/Makefile.assym Sun Mar 25 06:54:04 2012 +0000
+++ b/sys/modules/Makefile.assym Sun Mar 25 06:55:19 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.assym,v 1.1 2008/01/16 12:34:56 ad Exp $
+# $NetBSD: Makefile.assym,v 1.2 2012/03/25 06:55:20 joerg Exp $
DPSRCS+= assym.h
CLEANFILES+= assym.h
@@ -22,6 +22,6 @@
assym.h:
# ${GENASSYM_DIR}/genassym.cf
@echo ${S}
- ${TOOL_GENASSYM} -- ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
+ ${TOOL_GENASSYM} -- ${CC} ${CFLAGS:N-Wa,*} ${CPPFLAGS} ${PROF} \
< ${GENASSYM_DIR}/genassym.cf > assym.h.tmp && \
mv -f assym.h.tmp assym.h
Home |
Main Index |
Thread Index |
Old Index