mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-18 17:04:34 +00:00
Add MISSING_DECLS switch
This commit is contained in:
parent
853b43691e
commit
6d6508b974
5
Makefile
5
Makefile
@ -1,4 +1,5 @@
|
||||
HAVE_FILE_LOGGER=1
|
||||
MISSING_DECLS=0
|
||||
|
||||
include config.mk
|
||||
|
||||
@ -29,6 +30,10 @@ endif
|
||||
|
||||
HEADERS = $(wildcard */*/*.h) $(wildcard */*.h) $(wildcard *.h)
|
||||
|
||||
ifeq ($(MISSING_DECLS), 1)
|
||||
DEFINES += -Werror=missing-declarations
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_DYLIB), 1)
|
||||
LIBS += $(DYLIB_LIB)
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user