]> Zhao Yanbai Git Server - minix.git/commitdiff
Makefiles: remove -D__minix for assembly invocations.
authorBen Gras <ben@minix3.org>
Mon, 13 Sep 2010 13:36:29 +0000 (13:36 +0000)
committerBen Gras <ben@minix3.org>
Mon, 13 Sep 2010 13:36:29 +0000 (13:36 +0000)
They seem to be redundant (for gcc+ack+clang) and produce
very messy warnings (for clang, due to it already being defined).

share/mk/bsd.ack.mk
share/mk/bsd.gcc.mk

index 5280a5599f2608828b49277e701f16bfd1f18b1a..538f7e9f8646e892f8ba862a2d87da75120833ae 100644 (file)
@@ -11,7 +11,7 @@ CPPFLAGS+= -wo
 # .endif
 
 ASMCONV=gas2ack
-AFLAGS+=-D__ASSEMBLY__ -D__minix -w -wo
+AFLAGS+=-D__ASSEMBLY__ -w -wo
 CPP.s=${CC} -E ${AFLAGS}
 ASMCONVFLAGS+=-mi386
 
index 6554b76e22fca59fa751e3f3028a6099b2e44a74..66ee4ee40b90a104b3347d098dc1f57b91bfb85c 100644 (file)
@@ -1,2 +1,2 @@
-AFLAGS+=-D__ASSEMBLY__ -D_EM_WSIZE=4 -D__minix
+AFLAGS+=-D__ASSEMBLY__ -D_EM_WSIZE=4
 CFLAGS+= -fno-builtin