summaryrefslogtreecommitdiff
path: root/gstdoc-scangobj
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2010-06-18 09:54:20 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-06-21 11:30:07 +0100
commit277d83e3e02205f63e922cbd41572111c41ac5b6 (patch)
treec381f642f95b189cadad5bf72b1cd4adba6c69be /gstdoc-scangobj
parent73ff93a46a122e76ae400eed155f0b1ce13d9ed6 (diff)
gstdoc-scangobj: fix build with C compilers that don't support -Wall
Don't unconditionally pass -Wall to the compiler. Use WARNING_CFLAGS instead if it is defined. Fixes build with Sun Studio Compiler. Fixes #621963.
Diffstat (limited to 'gstdoc-scangobj')
-rwxr-xr-xgstdoc-scangobj2
1 files changed, 1 insertions, 1 deletions
diff --git a/gstdoc-scangobj b/gstdoc-scangobj
index ca2aa59..f1d031b 100755
--- a/gstdoc-scangobj
+++ b/gstdoc-scangobj
@@ -1734,7 +1734,7 @@ close OUTPUT;
$CC = $ENV{CC} ? $ENV{CC} : "gcc";
$LD = $ENV{LD} ? $ENV{LD} : $CC;
-$CFLAGS = $ENV{CFLAGS} ? "$ENV{CFLAGS} -Wall -g" : "-Wall -g";
+$CFLAGS = $ENV{CFLAGS} ? "$ENV{CFLAGS}" : "";
$LDFLAGS = $ENV{LDFLAGS} ? $ENV{LDFLAGS} : "";
my $o_file;