summaryrefslogtreecommitdiff
path: root/recipes/gst-plugins-ugly-1.0.recipe
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-10-23 17:52:40 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-10-23 17:52:40 +0200
commit6f53dfdb499e45b42ac23a9ebffd8c698be565b4 (patch)
tree6821461b411f2b9fa85fe42f4a2995c367a6951a /recipes/gst-plugins-ugly-1.0.recipe
parent0474b8a516521a94af1eb9697012956f5e7d11a1 (diff)
gstreamer-1.0: use append_env for -Wno-error
Diffstat (limited to 'recipes/gst-plugins-ugly-1.0.recipe')
-rw-r--r--recipes/gst-plugins-ugly-1.0.recipe6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/gst-plugins-ugly-1.0.recipe b/recipes/gst-plugins-ugly-1.0.recipe
index c3c53eac..bce600d0 100644
--- a/recipes/gst-plugins-ugly-1.0.recipe
+++ b/recipes/gst-plugins-ugly-1.0.recipe
@@ -31,9 +31,9 @@ class Recipe(recipe.Recipe):
files_lang = ['gst-plugins-ugly-1.0']
def prepare(self):
- self.new_env['CFLAGS'] = os.environ['CFLAGS'] + " -Wno-error "
- self.new_env['CXXFLAGS'] = os.environ['CXXFLAGS'] + " -Wno-error "
- self.new_env['CPPFLAGS'] = os.environ['CPPFLAGS'] + " -Wno-error "
+ self.append_env['CFLAGS'] = " -Wno-error "
+ self.append_env['CXXFLAGS'] = " -Wno-error "
+ self.append_env['CPPFLAGS'] = " -Wno-error "
if self.config.target_platform in [Platform.WINDOWS, Platform.DARWIN]:
self.configure_options += '--disable-gtk-doc '
if self.config.variants.nodebug: