From f49667591dc63189a6e04142f6828138abe0fc7e Mon Sep 17 00:00:00 2001 From: Ash Logan Date: Tue, 23 Apr 2019 21:04:28 +1000 Subject: [PATCH] Makefile: don't bother with .gnu.warning, just generate empty stubs --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b9c35e8..14446d1 100644 --- a/Makefile +++ b/Makefile @@ -140,9 +140,7 @@ lib/libwutd.a : $(SOURCES) $(INCLUDES) | lib debug # temp: Deprecation stub for directly linking cafe libs (all in libwut) lib/stubs/lib%.a: | lib/stubs release @echo stub $(notdir $*) - @echo "static const char w[] __attribute__((section(\".gnu.warning\"))) = \"Deprecation: Linking to Cafe libraries (-l$*) is no longer needed, and will be removed in future. Please update your build.\";" > release/$*.stub.c - @$(CC) $(MACHDEP) -Wno-unused-variable -c release/$*.stub.c -o release/$*.stub.o $(ERROR_FILTER) - @$(AR) -rc $@ release/$*.stub.o + @$(AR) -rc $@ #--------------------------------------------------------------------------------- clean: