mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Drop -pedantic.
RetroArch is fine with -pedantic, but lots of library headers aren't ... Not critical by a long shot anyways.
This commit is contained in:
parent
242d2d0d65
commit
f66692d02f
5
Makefile
5
Makefile
@ -299,7 +299,7 @@ ifeq ($(DEBUG), 1)
|
||||
OPTIMIZE_FLAG = -O0
|
||||
endif
|
||||
|
||||
CFLAGS += -Wall $(OPTIMIZE_FLAG) $(INCLUDE_DIRS) -g -I. -pedantic
|
||||
CFLAGS += -Wall $(OPTIMIZE_FLAG) $(INCLUDE_DIRS) -g -I.
|
||||
ifeq ($(CXX_BUILD), 1)
|
||||
LD = $(CXX)
|
||||
CFLAGS += -std=c++0x -xc++ -D__STDC_CONSTANT_MACROS
|
||||
@ -315,9 +315,6 @@ endif
|
||||
ifeq ($(NOUNUSED), yes)
|
||||
CFLAGS += -Wno-unused-result
|
||||
endif
|
||||
ifeq ($(NOEXTTOKEN), yes)
|
||||
CFLAGS += -Wno-language-extension-token
|
||||
endif
|
||||
|
||||
all: $(TARGET) config.mk
|
||||
|
||||
|
@ -1,9 +1,7 @@
|
||||
check_switch_c C99 -std=gnu99 "Cannot find C99 compatible compiler."
|
||||
|
||||
check_switch_c NOUNUSED -Wno-unused-result
|
||||
check_switch_c NOEXTTOKEN -Wno-language-extension-token
|
||||
add_define_make NOUNUSED "$HAVE_NOUNUSED"
|
||||
add_define_make NOEXTTOKEN "$HAVE_NOEXTTOKEN"
|
||||
|
||||
# There are still broken 64-bit Linux distros out there. :)
|
||||
[ -d /usr/lib64 ] && add_library_dirs /usr/lib64
|
||||
|
Loading…
x
Reference in New Issue
Block a user