[debian-edu-commits] debian-edu/lambdacan.git (#17) - master (branch) updated: upstream/2.0-16-gcbc79e7

anthony gasperin nyothan-guest at alioth.debian.org
Sun Sep 1 10:23:59 UTC 2013


The branch, master has been updated
       via  cbc79e7db7af0ee1b8434ec779357827e210f4c9 (commit)
      from  beaa25ba537ed637ffa9f80c39864f1ab88aeef8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit cbc79e7db7af0ee1b8434ec779357827e210f4c9
Author: Anthony Gasperin <anthony.gasperin at gmail.com>
Date:   Sat Aug 31 10:41:46 2013 +0200

    add debflags

-----------------------------------------------------------------------

Summary of changes:
 debian/patches/fix_cflags.patch |   29 ++++++++++++++++++++++++++++-
 debian/rules                    |    8 +++++---
 2 files changed, 33 insertions(+), 4 deletions(-)

The diff of changes is:
diff --git a/debian/patches/fix_cflags.patch b/debian/patches/fix_cflags.patch
index d39cc8e..ca84c74 100644
--- a/debian/patches/fix_cflags.patch
+++ b/debian/patches/fix_cflags.patch
@@ -1,9 +1,36 @@
 --- a/Makefile-posix
 +++ b/Makefile-posix
-@@ -1,5 +1,5 @@
+@@ -1,25 +1,26 @@
  
 -CFLAGS=-Wall -DPOSIX -g
 +CFLAGS+=-Wall -DPOSIX -g
++DEBFLAGS=$(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS)
  
  all : lci
  
+ lci_ast.o : lci_ast.c lci_ast.h
+-	$(CC) $(CFLAGS) -c lci_ast.c
++	$(CC) $(CFLAGS) $(DEBFLAGS) -c lci_ast.c
+ 
+ lci_var.o : lci_var.c lci_var.h
+-	$(CC) $(CFLAGS) -c lci_var.c
++	$(CC) $(CFLAGS) $(DEBFLAGS) -c lci_var.c
+ 
+ lci_parse.o : lci_parse.c lci_parse.h lci_ast.h lci_var.h
+-	$(CC) $(CFLAGS) -c lci_parse.c
++	$(CC) $(CFLAGS) $(DEBFLAGS) -c lci_parse.c
+ 
+ lci_reduce.o : lci_reduce.c lci_reduce.h lci_ast.h lci_var.h
+-	$(CC) $(CFLAGS) -c lci_reduce.c
++	$(CC) $(CFLAGS) $(DEBFLAGS) -c lci_reduce.c
+ 
+ lci_main.o : lci_main.c lci_reduce.h lci_parse.h lci_ast.h lci_var.h
+-	$(CC) $(CFLAGS) -c lci_main.c
++	$(CC) $(CFLAGS) $(DEBFLAGS) -c lci_main.c
+ 
+ lci: lci_main.o lci_reduce.o lci_parse.o lci_var.o lci_ast.o
+-	$(CC) $(CFLAGS) -o lci lci_main.o lci_reduce.o lci_parse.o lci_var.o lci_ast.o
++	$(CC) $(CFLAGS) $(DEBFLAGS) -o lci lci_main.o lci_reduce.o lci_parse.o lci_var.o lci_ast.o
+ 
+ clean :
+ 	rm -f *.o lci
diff --git a/debian/rules b/debian/rules
index 76d2f06..427ab45 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,9 +8,11 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
-export DEB_BUILD_MAINT_OPTIONS= hardening=+all
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+
 
 clean:
 	${MAKE} -f Makefile-posix clean


hooks/post-receive
-- 
lambdacan.git (Debian package lambdacan)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lambdacan.git" (Debian package lambdacan).




More information about the debian-edu-commits mailing list