[mirmince commits] {mirmince} branch master updated. b318f92ca542d267eee24aec726dee4e67a1fd45

tg at freewrt.org tg at freewrt.org
Fri Jun 14 22:18:35 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Main git repository for FreeWRT project mirmince".

The branch, master has been updated
       via  b318f92ca542d267eee24aec726dee4e67a1fd45 (commit)
      from  6f79cfc4c09de00d1181d48804a78300efd9314c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b318f92ca542d267eee24aec726dee4e67a1fd45
Author: Thorsten Glaser <tg at mirbsd.org>
Date:   Fri Jun 14 22:18:15 2013 +0000

    gcc and pcc define __ASSEMBLER__ for *.S so no need for _ASM_SOURCE

-----------------------------------------------------------------------

Summary of changes:
 Makefile      |    2 +-
 Makefrag.inst |    2 +-
 md/i386/asm.h |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 9a9ba00..7d96dc1 100644
--- a/Makefile
+++ b/Makefile
@@ -82,7 +82,7 @@ CFLAGS+=	-g3 -fno-omit-frame-pointer
 .SUFFIXES: .a .o .S .i .c .h
 .LIBS: .a
 
-COMPILE.S:=	${CC} -D_ASM_SOURCE ${CPPFLAGS} ${AFLAGS} -c
+COMPILE.S:=	${CC} ${CPPFLAGS} ${AFLAGS} -c
 COMPILE.c:=	${CC} ${CPPFLAGS} ${CFLAGS} -c
 LINK.c:=	${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}
 
diff --git a/Makefrag.inst b/Makefrag.inst
index 46e88fe..199b010 100644
--- a/Makefrag.inst
+++ b/Makefrag.inst
@@ -25,7 +25,7 @@ CFLAGS+=	-g3
 .SUFFIXES: .a .o .S .i .c .h
 .LIBS: .a
 
-COMPILE.S:=	${CC} -D_ASM_SOURCE ${CPPFLAGS} ${AFLAGS} -c
+COMPILE.S:=	${CC} ${CPPFLAGS} ${AFLAGS} -c
 COMPILE.c:=	${CC} ${CPPFLAGS} ${CFLAGS} -c
 
 .c.o:
diff --git a/md/i386/asm.h b/md/i386/asm.h
index d1c3474..4718aa8 100644
--- a/md/i386/asm.h
+++ b/md/i386/asm.h
@@ -1,7 +1,7 @@
 #ifndef MIRMINCE_MD_I386_ASM_H
 #define MIRMINCE_MD_I386_ASM_H
 
-#ifdef _ASM_SOURCE
+#ifdef __ASSEMBLER__
 	.intel_syntax noprefix
 #endif
 


hooks/post-receive
-- 
Main git repository for FreeWRT project mirmince
(FreeWRT project mirmince repository mirmince)


More information about the mirmince-commits mailing list