#!/bin/bash

set -ex

# The spec file override CCAS to add the --noexecstack option and hard-codes gcc.
sed -i 's/test -n "$CCAS" || CCAS="$CC -c"/export CCAS="clang -c -Wa,--noexecstack"/g' configure.ac
