summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2018-07-15 18:07:40 +0900
committerAkinori Hattori <hattya@gentoo.org>2018-07-15 18:09:13 +0900
commit4e1d70ca958061934b2ffdab1aa3fb47cbd25303 (patch)
tree25ecb2c9fb62bad6cc25b07478c1b7852ce57c5c /dev-scheme/gauche-cdb
parentdev-scheme/gauche-cdb: update patches (diff)
downloadgentoo-4e1d70ca958061934b2ffdab1aa3fb47cbd25303.tar.gz
gentoo-4e1d70ca958061934b2ffdab1aa3fb47cbd25303.tar.bz2
gentoo-4e1d70ca958061934b2ffdab1aa3fb47cbd25303.zip
dev-scheme/gauche-cdb: respect CFLAGS/LDFLAGS
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-scheme/gauche-cdb')
-rw-r--r--dev-scheme/gauche-cdb/files/gauche-cdb-gauche-package.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-scheme/gauche-cdb/files/gauche-cdb-gauche-package.patch b/dev-scheme/gauche-cdb/files/gauche-cdb-gauche-package.patch
index dc521b29af87..2f09f6c64c73 100644
--- a/dev-scheme/gauche-cdb/files/gauche-cdb-gauche-package.patch
+++ b/dev-scheme/gauche-cdb/files/gauche-cdb-gauche-package.patch
@@ -18,7 +18,9 @@
-GOSH = @GOSH@
-GAUCHE_CONFIG = @GAUCHE_CONFIG@
+DESTDIR =
++CFLAGS = @CFLAGS@
+CPPFLAGS = @CPPFLAGS@ # AC_LIB_LINKFLAGS adds to this..
++LDFLAGS = @LDFLAGS@
+GOSH = "@GOSH@"
+GAUCHE_CONFIG = "@GAUCHE_CONFIG@"
+GAUCHE_PACKAGE = "@GAUCHE_PACKAGE@"
@@ -76,9 +78,7 @@
-$(MODULE)_head.c $(MODULE)_tail.c :
- $(GAUCHE_CONFIG) --fixup-extension $(MODULE)
+$(PACKAGE).$(SOEXT): $(cdb_SRCS)
-+ $(GAUCHE_PACKAGE) compile --verbose \
-+ --libs="$(cdb_LIBS)" --cppflags="$(CPPFLAGS)" \
-+ $(PACKAGE) $(cdb_SRCS)
++ $(GAUCHE_PACKAGE) compile --verbose --cppflags="$(CPPFLAGS)" --cflags="$(CFLAGS)" --ldflags="$(LDFLAGS)" --libs="$(cdb_LIBS)" $(PACKAGE) $(cdb_SRCS)
check : all
@rm -f test.log