mirror of
https://github.com/holub/mame
synced 2025-04-26 02:07:14 +03:00
fixed libflac compilation for older clang versions (nw)
This commit is contained in:
parent
f9bfd9ccfb
commit
5a6a00661e
@ -355,8 +355,14 @@ ifdef MSVC_BUILD
|
||||
else
|
||||
FLACOPTS += -DVERSION=\"1.2.1\"
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring clang,$(CC)))
|
||||
FLACOPTS += -Wno-unused-const-variable
|
||||
# TODO: needs to use $(CC)
|
||||
TEST_CLANG := $(shell clang --version)
|
||||
|
||||
ifeq ($(findstring 3.4,$(TEST_CLANG)),3.4)
|
||||
FLACOPTS += -Wno-unused-const-variable
|
||||
endif
|
||||
endif
|
||||
|
||||
LIBFLACOBJS = \
|
||||
|
Loading…
Reference in New Issue
Block a user