[med-svn] [Git][med-team/ecopcr][master] Update hardening options

Shruti Sridhar (@shruti_sridhar) gitlab at salsa.debian.org
Sat Jul 31 11:12:32 BST 2021



Shruti Sridhar pushed to branch master at Debian Med / ecopcr


Commits:
b590f9d7 by Shruti Sridhar at 2021-07-31T15:42:05+05:30
Update hardening options

- - - - -


1 changed file:

- debian/patches/hardening.patch


Changes:

=====================================
debian/patches/hardening.patch
=====================================
@@ -5,16 +5,22 @@ Description: Propagate hardening options
 
 --- a/src/global.mk
 +++ b/src/global.mk
-@@ -2,7 +2,7 @@ LIBPATH= -Llibapat -LlibecoPCR -Llibther
+@@ -2,16 +2,17 @@ LIBPATH= -Llibapat -LlibecoPCR -Llibther
  MAKEDEPEND = gcc -M $(CPPFLAGS) -o $*.d $<
  
  CC=gcc
 -CFLAGS= -O3 -w
 +CFLAGS+= -O3 -w
++
  
  default: all
  
-@@ -14,4 +14,4 @@ default: all
+ %.o: %.c
+-	$(CC) $(CFLAGS) -c -o $@ $<
++	$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+ 
+ %.P : %.c
+ 	$(MAKEDEPEND)
  	@sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' < $*.d > $@; \
  	rm -f $*.d; [ -s $@ ] || rm -f $@
  



View it on GitLab: https://salsa.debian.org/med-team/ecopcr/-/commit/b590f9d773229f0e51b943a313bfa02a56aa234c

-- 
View it on GitLab: https://salsa.debian.org/med-team/ecopcr/-/commit/b590f9d773229f0e51b943a313bfa02a56aa234c
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210731/6a202adf/attachment-0001.htm>


More information about the debian-med-commit mailing list