ignore warnings older compilers don't know
This commit is contained in:
parent
a1ffbe1ec8
commit
821c4d2115
1 changed files with 3 additions and 3 deletions
|
@ -82,7 +82,7 @@ config_override () {
|
||||||
configure () {
|
configure () {
|
||||||
if enabled ${COVERAGE}; then
|
if enabled ${COVERAGE}; then
|
||||||
./configure "$@" PGSQL2SQLITE=False SVG2PNG=False SVG_RENDERER=False \
|
./configure "$@" PGSQL2SQLITE=False SVG2PNG=False SVG_RENDERER=False \
|
||||||
COVERAGE=True DEBUG=True
|
COVERAGE=True DEBUG=True WARNING_CXXFLAGS="-Wno-unknown-warning-option"
|
||||||
elif enabled ${MASON_PUBLISH}; then
|
elif enabled ${MASON_PUBLISH}; then
|
||||||
export MASON_NAME=mapnik
|
export MASON_NAME=mapnik
|
||||||
export MASON_VERSION=latest
|
export MASON_VERSION=latest
|
||||||
|
@ -90,9 +90,9 @@ configure () {
|
||||||
source ./.mason/mason.sh
|
source ./.mason/mason.sh
|
||||||
./configure "$@" PREFIX=${MASON_PREFIX} \
|
./configure "$@" PREFIX=${MASON_PREFIX} \
|
||||||
PATH_REPLACE='' MAPNIK_BUNDLED_SHARE_DIRECTORY=True \
|
PATH_REPLACE='' MAPNIK_BUNDLED_SHARE_DIRECTORY=True \
|
||||||
RUNTIME_LINK='static'
|
RUNTIME_LINK='static' WARNING_CXXFLAGS="-Wno-unknown-warning-option"
|
||||||
else
|
else
|
||||||
./configure "$@"
|
./configure "$@" WARNING_CXXFLAGS="-Wno-unknown-warning-option"
|
||||||
fi
|
fi
|
||||||
# print final config values, sorted and indented
|
# print final config values, sorted and indented
|
||||||
sort -sk1,1 ./config.py | sed -e 's/^/ /'
|
sort -sk1,1 ./config.py | sed -e 's/^/ /'
|
||||||
|
|
Loading…
Reference in a new issue