On 04/02/2014 01:30 PM, Ian Romanick wrote:
From: Ian Romanick <ian.d.roman...@intel.com>

Put the -c in the correct place (and match Makefile.am).

Signed-off-by: Ian Romanick <ian.d.roman...@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76960
Cc: Vinson Lee <v...@freedesktop.org>
---
  src/mapi/glapi/gen/SConscript | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mapi/glapi/gen/SConscript b/src/mapi/glapi/gen/SConscript
index 4d827b0..b9cdbbf 100644
--- a/src/mapi/glapi/gen/SConscript
+++ b/src/mapi/glapi/gen/SConscript
@@ -38,7 +38,7 @@ env.CodeGenerate(
      target = '../../../mapi/glapi/glprocs.h',
      script = 'gl_procs.py',
      source = sources,
-    command = python_cmd + ' -c $SCRIPT -f $SOURCE > $TARGET'
+    command = python_cmd + ' $SCRIPT -c -f $SOURCE > $TARGET'
      )

  env.CodeGenerate(


Plain scons build seems OK with this.

Tested-by: Brian Paul <bri...@vmware.com>

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to