1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-12 11:01:59 +00:00

Avoid automatic make commands on autotools

This commit is contained in:
Alberto Fanjul 2021-10-27 12:02:54 +02:00
parent 506f1e7b28
commit 3f5270ee7a
2 changed files with 4 additions and 6 deletions

View file

@ -29,22 +29,18 @@ if [ "x$1" = "xc" ]; then
shift
args="$args $@"
$topdir/configure CFLAGS='-g -O0 -ftrapv' $args
make clean
elif [ "x$1" = "xg" ]; then
shift
args="$args $@"
$topdir/configure CFLAGS='-g -O0 -ftrapv' $args
make clean
elif [ "x$1" = "xa" ]; then
shift
args="$args $@"
$topdir/configure CFLAGS='-g -O0 -Wsuggest-attribute=pure -Wsuggest-attribute=const -ftrapv' $args
make clean
elif [ "x$1" = "xl" ]; then
shift
args="$args $@"
$topdir/configure CC=clang CFLAGS='-g -O0 -ftrapv' $args
make clean
elif [ "x$1" = "xs" ]; then
shift
args="$args $@"

View file

@ -165,13 +165,14 @@ AC_MSG_NOTICE([Build configuration:
bindir: $bindir
libdir: $libdir
includedir: $includedir
sysconfdir: $sysconfdir
Miscellaneous Options:
building tests: $have_check
code coverage: $use_gcov
rely udev: ${enable_rely_udev:-no}
Compilation
mkdir build && cd build
"${MAKE-make}" to start compilation process
"${MAKE-make}" check to pass test])
else
@ -181,11 +182,12 @@ AC_MSG_NOTICE([Build configuration:
bindir: $bindir
libdir: $libdir
includedir: $includedir
sysconfdir: $sysconfdir
Miscellaneous Options:
building tests: $have_check
rely udev: ${enable_rely_udev:-no}
Compilation
mkdir build && cd build
"${MAKE-make}" to start compilation process])
fi