mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Lukas Bulwahn <lukas.bulwahn@gmail.com>
To: Rich Felker <dalias@aerifal.cx>, musl@lists.openwall.com
Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Subject: [musl] [PATCH 2/2] drop adding -DCRT to CFLAGS in the Makefile
Date: Mon, 13 Mar 2023 06:17:05 +0100	[thread overview]
Message-ID: <20230313051705.2843-3-lukas.bulwahn@gmail.com> (raw)
In-Reply-To: <20230313051705.2843-1-lukas.bulwahn@gmail.com>

Commit 5e46e8d4b0fee11a5d2ea12d0d21ed0bff6db855 removed the file
src/internal/vis.h. This file was the only place where the CRT macro was
checked. So, since then, the Makefile does not need to pass this macro.

Drop adding -DCRT to CFLAGS in the Makefile.
---
 Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Makefile b/Makefile
index fd45c118..9c98983d 100644
--- a/Makefile
+++ b/Makefile
@@ -127,8 +127,6 @@ NOSSP_OBJS = $(CRT_OBJS) $(filter \
 	, $(LIBC_OBJS))
 $(NOSSP_OBJS) $(NOSSP_OBJS:%.o=%.lo) $(LDSO_OBJS): CFLAGS_ALL += $(CFLAGS_NOSSP)
 
-$(CRT_OBJS): CFLAGS_ALL += -DCRT
-
 $(LOBJS) $(LDSO_OBJS): CFLAGS_ALL += -fPIC
 
 CC_CMD = $(CC) $(CFLAGS_ALL) -c -o $@ $<
-- 
2.17.1


      parent reply	other threads:[~2023-03-13  5:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-13  5:17 [musl] [PATCH 0/2] Minor stylistic clean-up in musl Makefile Lukas Bulwahn
2023-03-13  5:17 ` [musl] [PATCH 1/2] avoid passing -fno-stack-protector twice for LDSO_OBJS Lukas Bulwahn
2023-03-13  5:17 ` Lukas Bulwahn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230313051705.2843-3-lukas.bulwahn@gmail.com \
    --to=lukas.bulwahn@gmail.com \
    --cc=dalias@aerifal.cx \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).