mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-scheme/gauche-gl: respect CFLAGS
Closes: https://bugs.gentoo.org/738818 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
This commit is contained in:
11
dev-scheme/gauche-gl/files/gauche-gl-0.6-cflags.patch
Normal file
11
dev-scheme/gauche-gl/files/gauche-gl-0.6-cflags.patch
Normal file
@@ -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@
|
||||
@@ -27,6 +27,7 @@ S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-simple.viewer.patch
|
||||
"${FILESDIR}"/${P}-cflags.patch
|
||||
"${FILESDIR}"/${P}-cg.patch
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user