[Xquartz-changes] [390] AppleSGLX/trunk/gen_gl_h.sh

source_changes at macosforge.org source_changes at macosforge.org
Mon Dec 21 13:50:23 PST 2009


Revision: 390
          http://trac.macosforge.org/projects/xquartz/changeset/390
Author:   jeremyhu at freedesktop.org
Date:     2009-12-21 13:50:23 -0800 (Mon, 21 Dec 2009)
Log Message:
-----------
Honor the CC envar if it is set

Modified Paths:
--------------
    AppleSGLX/trunk/gen_gl_h.sh

Modified: AppleSGLX/trunk/gen_gl_h.sh
===================================================================
--- AppleSGLX/trunk/gen_gl_h.sh	2009-12-21 21:47:22 UTC (rev 389)
+++ AppleSGLX/trunk/gen_gl_h.sh	2009-12-21 21:50:23 UTC (rev 390)
@@ -13,7 +13,7 @@
       echo "#define GL_GLEXT_LEGACY 1"
       generate_macros
       echo '#include "/System/Library/Frameworks/OpenGL.framework/Headers/gl.h"'
-    } | gcc -E - | grep typedef.*PFN
+    } | ${CC:-gcc} -E - | grep typedef.*PFN
 }
 
 cat ${INFILE} | while IFS= read LINE ; do
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/xquartz-changes/attachments/20091221/7fa3177c/attachment.html>


More information about the Xquartz-changes mailing list