[Pkg-electronics-commits] [pcb-rnd] 04/05: gsch2pcb uses the CFLAGS, LDFLAGS from ./configure

Dima Kogan dima at secretsauce.net
Mon Jan 16 22:32:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkogan pushed a commit to branch patch-queue/master
in repository pcb-rnd.

commit f0ba4416994c8411608399a9d1db60c02312ea55
Author: Dima Kogan <dima at secretsauce.net>
Date:   Sun Dec 18 21:04:36 2016 -0800

    gsch2pcb uses the CFLAGS, LDFLAGS from ./configure
    
    
    Gbp-Pq: Name 0004-gsch2pcb-uses-the-CFLAGS-LDFLAGS-from-.-configure.patch
---
 util/gsch2pcb-rnd/Makefile.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/util/gsch2pcb-rnd/Makefile.in b/util/gsch2pcb-rnd/Makefile.in
index c311f5d..f1a41f5 100644
--- a/util/gsch2pcb-rnd/Makefile.in
+++ b/util/gsch2pcb-rnd/Makefile.in
@@ -1,10 +1,12 @@
-put /local/pcb/CFLAGS {-I../.. -I../../src_3rd -I../../src_3rd/liblihata -DSCMDIR="\\"$(LIBDIR)\\""}
+put /local/pcb/CFLAGS cc/cflags
+append /local/pcb/CFLAGS {-I../.. -I../../src_3rd -I../../src_3rd/liblihata -DSCMDIR="\\"$(LIBDIR)\\""}
+append /local/pcb/LDFLAGS cc/ldflags
 include {../scconfig/template/debug.tmpasm}
 
 print [@
 PLUGDIR=../../src_plugins
 CFLAGS=@/local/pcb/c89flags@ @/local/pcb/CFLAGS@
-LDFLAGS=-lm
+LDFLAGS=-lm @/local/pcb/LDFLAGS@
 CC=@cc/cc@
 
 HASHOBJ=../../src_3rd/liblihata/genht/hash.o ../../src_3rd/liblihata/genht/htsp.o ../../src_3rd/liblihata/genht/htpp.o

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/pcb-rnd.git



More information about the Pkg-electronics-commits mailing list