Revision
140798
Author
jmr@macports.org
Date
2015-10-02 20:25:01 -0700 (Fri, 02 Oct 2015)

Log Message

glew: pass configure.optflags in to the Makefile to avoid a clang performance bug (#49004)

Modified Paths

Diff

Modified: trunk/dports/graphics/glew/Portfile (140797 => 140798)


--- trunk/dports/graphics/glew/Portfile	2015-10-03 03:17:26 UTC (rev 140797)
+++ trunk/dports/graphics/glew/Portfile	2015-10-03 03:25:01 UTC (rev 140798)
@@ -34,7 +34,7 @@
 use_configure      no
 build.env          GLEW_PREFIX=${prefix} GLEW_DEST=${prefix}
 build.args         CC=${configure.cc} LD=${configure.cc} \
-                   STRIP=
+                   POPT="${configure.optflags}" STRIP=
 destroot.env       GLEW_PREFIX=${prefix} GLEW_DEST=${prefix}
 destroot.target    install.all