mirror of
https://github.com/albfan/miraclecast.git
synced 2025-02-12 16:31:54 +00:00
Accept configure params on autogen.sh
This commit is contained in:
parent
92ab7eb2d3
commit
20036e77dc
1 changed files with 11 additions and 1 deletions
12
autogen.sh
12
autogen.sh
|
@ -26,18 +26,28 @@ fi
|
|||
cd $oldpwd
|
||||
|
||||
if [ "x$1" = "xc" ]; then
|
||||
shift
|
||||
args="$args $@"
|
||||
$topdir/configure CFLAGS='-g -O0 -ftrapv' $args
|
||||
make clean
|
||||
elif [ "x$1" = "xg" ]; then
|
||||
$topdir/configure CFLAGS='-g -Og -ftrapv' $args
|
||||
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 $@"
|
||||
scan-build $topdir/configure CFLAGS='-std=gnu99 -g -O0 -ftrapv' $args
|
||||
scan-build make
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue