mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-06-15 18:25:47 +00:00
2c885f28f3
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>
24 lines
638 B
Bash
Executable File
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
|