From: Roland McGrath Date: Thu, 23 Dec 1993 23:51:09 +0000 (+0000) Subject: Formerly m68k/Makefile.~9~ X-Git-Tag: glibc-2.16-ports-before-merge~4191 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1cfb0487a6fc04757046874a97d607df89556aa0;p=thirdparty%2Fglibc.git Formerly m68k/Makefile.~9~ --- diff --git a/sysdeps/m68k/Makefile b/sysdeps/m68k/Makefile index 188102dbf89..7d6f62de3e2 100644 --- a/sysdeps/m68k/Makefile +++ b/sysdeps/m68k/Makefile @@ -37,7 +37,7 @@ endif ifdef as-pipe-ok define compile-command.S -$(CC) $(CPPFLAGS) $(asm-CPPFLAGS) -E $< \ +$(CC) $(CPPFLAGS) $(m68k-syntax-flag) $(asm-CPPFLAGS) -E $< \ | sed 's/(@@@Hash-Here@@@)/#/g' | $(AS) $(ASFLAGS) -o $@ endef @@ -45,7 +45,7 @@ else define compile-command.S @-rm -f $@s -$(CC) $(CPPFLAGS) $(asm-CPPFLAGS) -E $< \ +$(CC) $(CPPFLAGS) $(m68k-syntax-flag) $(asm-CPPFLAGS) -E $< \ | sed 's/(@@@Hash-Here@@@)/#/g' > $@s $(AS) $(ASFLAGS) $@s -o $@ -rm -f $@s @@ -53,3 +53,9 @@ endef endif +# The mpn functions need this. All existing 68k ports use MIT syntax. If +# a new port wants to use Motorola or Sony syntax, it can redefine this +# variable. +ifndef m68k-syntax-flag +m68k-syntax-flag = -DMIT_SYNTAX +endif