diff options
| author | Eugen Wissner <belka@caraus.de> | 2020-11-30 08:59:41 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2020-11-30 08:59:41 +0100 |
| commit | 49066ca33e354d21a10a3a9bd8ebc24d4fbb4ec0 (patch) | |
| tree | df0f1f710d0be768a1d2120a83f940382ca99700 /nix/fix-Makefile.patch | |
| parent | c684e04e112094a439d67faec095d428f8fda822 (diff) | |
| download | slackbuilder-49066ca33e354d21a10a3a9bd8ebc24d4fbb4ec0.tar.gz | |
nix: Added
Diffstat (limited to 'nix/fix-Makefile.patch')
| -rw-r--r-- | nix/fix-Makefile.patch | 17 |
1 files changed, 17 insertions, 0 deletions
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 <kai.harries@gmail.com> + +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 |
