Fix qt6 build
[carla.git] / .travis / script-macos.sh
blob4bd40b7be04d5240e5b3e9ca315de0d8d5025d23
1 #!/bin/bash
3 set -e
5 # Preparation
6 _FLAGS="-Wno-attributes -Wno-deprecated-declarations -Werror -DBUILDING_FOR_CI"
7 export CFLAGS="${_FLAGS}"
8 export CXXFLAGS="${_FLAGS}"
9 export MACOS_OLD=true
10 export CROSS_COMPILING=true
11 . /usr/bin/apple-cross-setup.env
13 # Start clean
14 make distclean >/dev/null
16 # Print available features
17 make features
19 # Build native stuff
20 make