From b7eb0960888e38c9878d49543ee954886b1e5663 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Mon, 13 Sep 2010 13:36:29 +0000 Subject: [PATCH] Makefiles: remove -D__minix for assembly invocations. 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 | 2 +- share/mk/bsd.gcc.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/share/mk/bsd.ack.mk b/share/mk/bsd.ack.mk index 5280a5599..538f7e9f8 100644 --- a/share/mk/bsd.ack.mk +++ b/share/mk/bsd.ack.mk @@ -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 diff --git a/share/mk/bsd.gcc.mk b/share/mk/bsd.gcc.mk index 6554b76e2..66ee4ee40 100644 --- a/share/mk/bsd.gcc.mk +++ b/share/mk/bsd.gcc.mk @@ -1,2 +1,2 @@ -AFLAGS+=-D__ASSEMBLY__ -D_EM_WSIZE=4 -D__minix +AFLAGS+=-D__ASSEMBLY__ -D_EM_WSIZE=4 CFLAGS+= -fno-builtin -- 2.44.0