[med-svn] [Git][med-team/readerwriterqueue][master] Propagate hardening options to fix blhc

Nilesh Patra gitlab at salsa.debian.org
Wed Apr 21 15:41:09 BST 2021



Nilesh Patra pushed to branch master at Debian Med / readerwriterqueue


Commits:
7fa8798b by Nilesh Patra at 2021-04-21T20:10:49+05:30
Propagate hardening options to fix blhc

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/hardening.patch
- + debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -3,6 +3,7 @@ readerwriterqueue (1.0.4-1) UNRELEASED; urgency=medium
   * Team Upload.
   * New upstream version 1.0.4
   * Declare compliance with policy 4.5.1
+  * Propagate hardening options to fix blhc
 
  -- Nilesh Patra <nilesh at debian.org>  Wed, 21 Apr 2021 19:49:39 +0530
 


=====================================
debian/patches/hardening.patch
=====================================
@@ -0,0 +1,36 @@
+Description: Propagate hardening options to fix blhc
+Author: Nilesh Patra <nilesh at debian.org>
+Last-Update: 2021-04-21
+--- a/benchmarks/makefile
++++ b/benchmarks/makefile
+@@ -16,7 +16,7 @@
+ default: benchmarks$(EXT)
+ 
+ benchmarks$(EXT): bench.cpp ../readerwriterqueue.h ../atomicops.h ext/1024cores/spscqueue.h ext/folly/ProducerConsumerQueue.h ../tests/common/simplethread.h ../tests/common/simplethread.cpp systemtime.h systemtime.cpp makefile
+-	g++ -std=c++11 -Wpedantic -Wall -DNDEBUG -O3 -g bench.cpp ../tests/common/simplethread.cpp systemtime.cpp -o benchmarks$(EXT) -pthread $(PLATFORM_OPTS)
++	g++ $(CPPFLAGS) $(CXXFLAGS) -std=c++11 -Wpedantic -Wall -DNDEBUG -O3 -g bench.cpp ../tests/common/simplethread.cpp systemtime.cpp -o benchmarks$(EXT) -pthread $(PLATFORM_OPTS) $(LDFLAGS)
+ 
+ run: benchmarks$(EXT)
+ 	./benchmarks$(EXT)
+--- a/tests/stabtest/makefile
++++ b/tests/stabtest/makefile
+@@ -18,7 +18,7 @@
+ default: stabtest$(EXT)
+ 
+ stabtest$(EXT): stabtest.cpp ../../readerwriterqueue.h ../../atomicops.h ../common/simplethread.h ../common/simplethread.cpp makefile
+-	g++ $(PLATFORM_OPTS) -std=c++11 -Wsign-conversion -Wpedantic -Wall -DNDEBUG -O3 stabtest.cpp ../common/simplethread.cpp -o stabtest$(EXT) -pthread $(PLATFORM_LD_OPTS)
++	g++ $(CXXFLAGS) $(CPPFLAGS) $(PLATFORM_OPTS) -std=c++11 -Wsign-conversion -Wpedantic -Wall -DNDEBUG -O3 stabtest.cpp ../common/simplethread.cpp -o stabtest$(EXT) -pthread $(PLATFORM_LD_OPTS) $(LDFLAGS)
+ 
+ run: stabtest$(EXT)
+ 	./stabtest$(EXT)
+--- a/tests/unittests/makefile
++++ b/tests/unittests/makefile
+@@ -21,7 +21,7 @@
+ default: unittests$(EXT)
+ 
+ unittests$(EXT): unittests.cpp ../../readerwriterqueue.h ../../atomicops.h ../common/simplethread.h ../common/simplethread.cpp minitest.h makefile
+-	g++ $(PLATFORM_OPTS) -std=c++11 -Wsign-conversion -Wpedantic -Wall -DNDEBUG -O3 -g unittests.cpp ../common/simplethread.cpp -o unittests$(EXT) -pthread $(PLATFORM_LD_OPTS)
++	g++ $(CXXFLAGS) $(CPPFLAGS) $(PLATFORM_OPTS) -std=c++11 -Wsign-conversion -Wpedantic -Wall -DNDEBUG -O3 -g unittests.cpp ../common/simplethread.cpp -o unittests$(EXT) -pthread $(PLATFORM_LD_OPTS) $(LDFLAGS)
+ 
+ run: unittests$(EXT)
+ 	./unittests$(EXT)


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+hardening.patch



View it on GitLab: https://salsa.debian.org/med-team/readerwriterqueue/-/commit/7fa8798bbbd84911a1e1ea6c97a230554732843f

-- 
View it on GitLab: https://salsa.debian.org/med-team/readerwriterqueue/-/commit/7fa8798bbbd84911a1e1ea6c97a230554732843f
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/20210421/ee961107/attachment-0001.htm>


More information about the debian-med-commit mailing list