From 462dc6b96757eadb903f6272f818f5698c9338ed Mon Sep 17 00:00:00 2001 From: Adam Novak Date: Mon, 15 Jul 2024 11:27:43 -0400 Subject: [PATCH] Remove extra `-headerpad` linker argument According to the Clang 15 man page it needs a size argument, and I don't think it does anything we need that `-headerpad_max_install_names` doesn't do. And it is causing build failures for some people (see ) because it doesn't have an argument. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6c8fd7262a1..9dbfe97f2ea 100644 --- a/Makefile +++ b/Makefile @@ -216,8 +216,9 @@ ifeq ($(shell uname -s),Darwin) START_STATIC = END_STATIC = - # We need to use special flags to let us rename libraries - LD_RENAMEABLE_FLAGS = -Wl,-headerpad -Wl,-headerpad_max_install_names + # We need to use special flags to let us rename libraries. + # See + LD_RENAMEABLE_FLAGS = -Wl,-headerpad_max_install_names else # We are not running on OS X $(info OS is Linux)