mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-18 18:30:59 +00:00
Added --enable-Werror option to our configure script
svn-id: r20792
This commit is contained in:
parent
a24867339d
commit
d87e5d6094
3
Makefile
3
Makefile
@ -18,9 +18,6 @@ MODULE_DIRS :=
|
||||
# Load the make rules generated by configure
|
||||
include config.mak
|
||||
|
||||
# Uncomment this for stricter compile time code verification
|
||||
# CXXFLAGS+= -Werror
|
||||
|
||||
CXXFLAGS:= -Wall $(CXXFLAGS)
|
||||
CXXFLAGS+= -O -Wuninitialized
|
||||
CXXFLAGS+= -Wno-long-long -Wno-multichar -Wno-unknown-pragmas
|
||||
|
4
configure
vendored
4
configure
vendored
@ -291,6 +291,7 @@ Special configuration feature:
|
||||
|
||||
Optional Features:
|
||||
--disable-debug disable building with debugging symbols
|
||||
--enable-Werror treat warnings as errors
|
||||
--disable-scumm don't build the SCUMM engine
|
||||
--disable-scumm-7-8 exclude v7 and v8 game in SCUMM engine (ft, dig, comi and demos)
|
||||
--disable-he exclude HE70+ games in SCUMM engine
|
||||
@ -444,6 +445,9 @@ for ac_option in $@; do
|
||||
--disable-debug)
|
||||
DEBFLAGS=""
|
||||
;;
|
||||
--enable-Werror)
|
||||
CXXFLAGS="$CXXFLAGS -Werror"
|
||||
;;
|
||||
--enable-release)
|
||||
DEBFLAGS="-O2"
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user