mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-29 04:40:54 +01:00
1b9617c85c
Now has support for isochronous transfers in the WinUSB backend, which may or may not work better than the UsbDk backend.
40 lines
918 B
Bash
Executable File
40 lines
918 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Warnings enabled
|
|
CFLAGS="-Wall -Wextra"
|
|
|
|
CFLAGS+=" -Wbad-function-cast"
|
|
#CFLAGS+=" -Wcast-align"
|
|
CFLAGS+=" -Wchar-subscripts"
|
|
CFLAGS+=" -Wempty-body"
|
|
CFLAGS+=" -Wformat"
|
|
CFLAGS+=" -Wformat-security"
|
|
CFLAGS+=" -Winit-self"
|
|
CFLAGS+=" -Winline"
|
|
CFLAGS+=" -Wmissing-declarations"
|
|
CFLAGS+=" -Wmissing-include-dirs"
|
|
CFLAGS+=" -Wmissing-prototypes"
|
|
CFLAGS+=" -Wnested-externs"
|
|
CFLAGS+=" -Wold-style-definition"
|
|
CFLAGS+=" -Wpointer-arith"
|
|
CFLAGS+=" -Wredundant-decls"
|
|
CFLAGS+=" -Wshadow"
|
|
CFLAGS+=" -Wstrict-prototypes"
|
|
CFLAGS+=" -Wswitch-enum"
|
|
CFLAGS+=" -Wundef"
|
|
CFLAGS+=" -Wuninitialized"
|
|
CFLAGS+=" -Wunused"
|
|
CFLAGS+=" -Wwrite-strings"
|
|
|
|
# warnings disabled on purpose
|
|
CFLAGS+=" -Wno-unused-parameter"
|
|
CFLAGS+=" -Wno-unused-function"
|
|
CFLAGS+=" -Wno-deprecated-declarations"
|
|
|
|
# should be removed and the code fixed
|
|
CFLAGS+=" -Wno-incompatible-pointer-types-discards-qualifiers"
|
|
|
|
export CFLAGS
|
|
|
|
./autogen.sh "$@"
|