aboutsummaryrefslogtreecommitdiff
path: root/travis/osx
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2017-12-17 15:54:39 +0100
committerKristian Evers <kristianevers@gmail.com>2017-12-17 18:56:38 +0100
commit80a5172acd1d75b35727132a95151c9ecbbe6899 (patch)
tree6a6d0ce1244d00d29c429a42634ccfe51388ad9a /travis/osx
parent6cd160fe5c96559a7c388647244f8cfa16426b3d (diff)
downloadPROJ-80a5172acd1d75b35727132a95151c9ecbbe6899.tar.gz
PROJ-80a5172acd1d75b35727132a95151c9ecbbe6899.zip
Add -std=c89 to travis targets.
The multistresstest code has been made C89 compliant in the process.
Diffstat (limited to 'travis/osx')
-rwxr-xr-xtravis/osx/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/travis/osx/install.sh b/travis/osx/install.sh
index 56e16ce6..8c25e1f1 100755
--- a/travis/osx/install.sh
+++ b/travis/osx/install.sh
@@ -4,4 +4,4 @@ set -e
export CCACHE_CPP2=yes
-CC="ccache clang" CFLAGS="-g -Wall -Wextra -Werror -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Werror=format-security -Wshadow -Wfloat-conversion -O2" ./travis/install.sh
+CC="ccache clang" CFLAGS="-std=c89 -g -Wall -Wextra -Werror -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Werror=format-security -Wshadow -Wfloat-conversion -O2" ./travis/install.sh