Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 13 Mar 2023 06:17:05 +0100
From: Lukas Bulwahn <lukas.bulwahn@...il.com>
To: Rich Felker <dalias@...ifal.cx>,
	musl@...ts.openwall.com
Cc: Lukas Bulwahn <lukas.bulwahn@...il.com>
Subject: [PATCH 2/2] drop adding -DCRT to CFLAGS in the Makefile

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.