Files
Castulo Martinez 2c885f28f3 Providing option to disable compiler optimizations
This commit adds an option to disable compiler optimizations which is
very useful when debugging a problem in swupd.

Note: the user would still need to make sure the optimization option is
not enabled in his/her CFLAGS variable.

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2019-02-11 14:28:48 -08:00

24 lines
638 B
Bash
Executable File

#!/bin/sh
set -e
autoreconf --force --install --symlink --warnings=all
# The client certificate tests are skipped by default, but require an
# alternative trust store for the test web server's public key. To enable
# the trust store for the client certificate tests, the SCRIPT_PATH variable
# must be uncommented and the following configuration argument must be added
# to args:
#
# --with-fallback-capaths=$SCRIPT_PATH/swupd_test_certificates
#
#SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
args="\
--sysconfdir=/etc \
--localstatedir=/var \
--prefix=/usr \
--enable-silent-rules"
./configure "$args" "$@"
make clean