mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Change from AS_COMPILER() to AS_COMPILER_FLAG() in order to directly check for available warning/error flags
Original commit message from CVS: Change from AS_COMPILER() to AS_COMPILER_FLAG() in order to directly check for available warning/error flags
This commit is contained in:
parent
f4845c186c
commit
e76153d66f
2 changed files with 4 additions and 10 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit ed429334bba35b10172ba97d9b3795b75a65b388
|
||||
Subproject commit c5d7301d645fbee2881c30e86152cb3d2152e33b
|
12
configure.ac
12
configure.ac
|
@ -36,15 +36,9 @@ AM_PROG_AS
|
|||
AS="${CC}"
|
||||
|
||||
dnl decide on error flags
|
||||
AS_COMPILER(COMPILER)
|
||||
if test "x$COMPILER" = "xforte"; then
|
||||
GST_ERROR=
|
||||
else
|
||||
if test "x$GST_CVS"="xyes"; then
|
||||
GST_ERROR="-Wall -Werror"
|
||||
else
|
||||
GST_ERROR="-Wall"
|
||||
fi
|
||||
AS_COMPILER_FLAG(-Wall,GST_ERROR="$GST_ERROR -Wall",)
|
||||
if test "x$GST_CVS"="xyes"; then
|
||||
AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",)
|
||||
fi
|
||||
|
||||
dnl We disable static building for development, for time savings
|
||||
|
|
Loading…
Reference in a new issue