summaryrefslogtreecommitdiff
path: root/dev-scheme/gauche-gl/files/gauche-gl-0.6-cflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-scheme/gauche-gl/files/gauche-gl-0.6-cflags.patch')
-rw-r--r--dev-scheme/gauche-gl/files/gauche-gl-0.6-cflags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-scheme/gauche-gl/files/gauche-gl-0.6-cflags.patch b/dev-scheme/gauche-gl/files/gauche-gl-0.6-cflags.patch
new file mode 100644
index 000000000000..c5c12f97f06f
--- /dev/null
+++ b/dev-scheme/gauche-gl/files/gauche-gl-0.6-cflags.patch
@@ -0,0 +1,11 @@
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -17,7 +17,7 @@
+ # These are set by configure
+ # NB: cc and various flags must match the ones used to compile Gauche,
+ # so the make invocator shouldn't casually override them.
+-CFLAGS = @DEFS@ @X_CFLAGS@ @GLUT_INCDIR@ @GLEW_INCDIR@
++CFLAGS = @DEFS@ @CFLAGS@ @X_CFLAGS@ @GLUT_INCDIR@ @GLEW_INCDIR@
+ LDFLAGS = @LDFLAGS@
+ OBJEXT = @OBJEXT@
+ SOEXT = @SOEXT@