mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
Shut up clang about inline asm.
We make sure to only compile it in for GCC compatible compilers.
This commit is contained in:
parent
bebe0d78a7
commit
ef418260de
3
Makefile
3
Makefile
@ -313,6 +313,9 @@ endif
|
|||||||
ifeq ($(NOUNUSED), yes)
|
ifeq ($(NOUNUSED), yes)
|
||||||
CFLAGS += -Wno-unused-result
|
CFLAGS += -Wno-unused-result
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(NOEXTTOKEN), yes)
|
||||||
|
CFLAGS += -Wno-language-extension-token
|
||||||
|
endif
|
||||||
|
|
||||||
all: $(TARGET) config.mk
|
all: $(TARGET) config.mk
|
||||||
|
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
check_switch_c C99 -std=gnu99 "Cannot find C99 compatible compiler."
|
check_switch_c C99 -std=gnu99 "Cannot find C99 compatible compiler."
|
||||||
|
|
||||||
check_switch_c NOUNUSED -Wno-unused-result
|
check_switch_c NOUNUSED -Wno-unused-result
|
||||||
|
check_switch_c NOEXTTOKEN -Wno-language-extension-token
|
||||||
add_define_make NOUNUSED "$HAVE_NOUNUSED"
|
add_define_make NOUNUSED "$HAVE_NOUNUSED"
|
||||||
|
add_define_make NOEXTTOKEN "$HAVE_NOEXTTOKEN"
|
||||||
|
|
||||||
# There are still broken 64-bit Linux distros out there. :)
|
# There are still broken 64-bit Linux distros out there. :)
|
||||||
[ -d /usr/lib64 ] && add_library_dirs /usr/lib64
|
[ -d /usr/lib64 ] && add_library_dirs /usr/lib64
|
||||||
|
Loading…
x
Reference in New Issue
Block a user