From 49066ca33e354d21a10a3a9bd8ebc24d4fbb4ec0 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Mon, 30 Nov 2020 08:59:41 +0100 Subject: nix: Added --- nix/fix-Makefile.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 nix/fix-Makefile.patch (limited to 'nix/fix-Makefile.patch') diff --git a/nix/fix-Makefile.patch b/nix/fix-Makefile.patch new file mode 100644 index 0000000..37646d3 --- /dev/null +++ b/nix/fix-Makefile.patch @@ -0,0 +1,17 @@ +Subject: Append CPPFLAGS to GLOBAL_*FLAGS, copy LDFLAGS into GLOBAL_LDFLAGS +Author: Kai Harries + +I (thk@) am not sure what this patch is needed for. I guess so that Debian +specific build options are respected? + +--- a/Makefile ++++ b/Makefile +@@ -19,4 +19,8 @@ GLOBAL_CXXFLAGS += -g -Wall -include config.h + + -include Makefile.config + ++GLOBAL_CFLAGS += $(CPPFLAGS) ++GLOBAL_CXXFLAGS += $(CPPFLAGS) ++GLOBAL_LDFLAGS += $(LDFLAGS) ++ + include mk/lib.mk -- cgit v1.2.3