mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-07 15:28:14 +01:00
Makefile: don't bother with .gnu.warning, just generate empty stubs
This commit is contained in:
parent
d542fdc438
commit
f49667591d
4
Makefile
4
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:
|
||||
|
Loading…
Reference in New Issue
Block a user