1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
Description: enable additional tests and set hardening flags.
Author: Anton Gladky <gladk@debian.org>
Last-Update: 2026-01-06
Index: gnuplot-iostream/legacy/Makefile
===================================================================
--- gnuplot-iostream.orig/legacy/Makefile
+++ gnuplot-iostream/legacy/Makefile
@@ -1,7 +1,7 @@
CXXFLAGS+=-Wall -Wextra -I.. -O0 -g
# Don't warn about the fact that we use the deprecated send() function.
-CXXFLAGS+=-Wno-deprecated-declarations
-LDFLAGS+=-lutil -lboost_iostreams -lboost_system -lboost_filesystem
+CXXFLAGS+=$(shell dpkg-buildflags --get CXXFLAGS)
+LDFLAGS+= $(shell dpkg-buildflags --get LDFLAGS) -lutil -lboost_iostreams -lboost_system -lboost_filesystem
EVERYTHING=examples examples-blitz examples-interactive
Index: gnuplot-iostream/Makefile
===================================================================
--- gnuplot-iostream.orig/Makefile
+++ gnuplot-iostream/Makefile
@@ -32,9 +32,9 @@ LDFLAGS+=-lutil -lboost_iostreams -lboos
# This makes the examples and tests more complete, but only works if you have the corresponding
# libraries installed.
-#CXXFLAGS+=-DUSE_ARMA=1
-#CXXFLAGS+=-DUSE_BLITZ=1
-#CXXFLAGS+=-DUSE_EIGEN=1 -isystem /usr/include/eigen3
+CXXFLAGS+=-DUSE_ARMA=1
+CXXFLAGS+=-DUSE_BLITZ=1
+CXXFLAGS+=-DUSE_EIGEN=1 -isystem /usr/include/eigen3
ALL_EXAMPLES=example-misc example-data-1d example-data-2d example-interactive
TEST_BINARIES=test-noncopyable test-outputs test-empty
|