From e4bfdb47132ba559d3f205c38c6fd05f3b84d1e5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 15 Jan 2020 00:57:10 +0000 Subject: move : x11-misc/nvidia-settings:0/390132 -> x11-misc/nvidia-legacy-settings --- .../files/nvidia-legacy-settings-linker.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 x11-misc/nvidia-legacy-settings/files/nvidia-legacy-settings-linker.patch (limited to 'x11-misc/nvidia-legacy-settings/files/nvidia-legacy-settings-linker.patch') diff --git a/x11-misc/nvidia-legacy-settings/files/nvidia-legacy-settings-linker.patch b/x11-misc/nvidia-legacy-settings/files/nvidia-legacy-settings-linker.patch new file mode 100644 index 00000000..de65a598 --- /dev/null +++ b/x11-misc/nvidia-legacy-settings/files/nvidia-legacy-settings-linker.patch @@ -0,0 +1,22 @@ +--- a/utils.mk ++++ b/utils.mk +@@ -475,7 +475,7 @@ + define READ_ONLY_OBJECT_FROM_FILE_RULE + $$(OUTPUTDIR)/$$(notdir $(1)).o: $(1) + $(at_if_quiet)cd $$(dir $(1)); \ +- $$(call quiet_cmd_no_at,LD) -r -z noexecstack --format=binary \ ++ $$(call quiet_cmd_no_at,NVLD) -r -z noexecstack --format=binary \ + $$(notdir $(1)) -o $$(OUTPUTDIR_ABSOLUTE)/$$(notdir $$@) + $$(call quiet_cmd,OBJCOPY) \ + --rename-section .data=.rodata,contents,alloc,load,data,readonly \ +--- a/src/libXNVCtrl/utils.mk ++++ b/src/libXNVCtrl/utils.mk +@@ -475,7 +475,7 @@ + define READ_ONLY_OBJECT_FROM_FILE_RULE + $$(OUTPUTDIR)/$$(notdir $(1)).o: $(1) + $(at_if_quiet)cd $$(dir $(1)); \ +- $$(call quiet_cmd_no_at,LD) -r -z noexecstack --format=binary \ ++ $$(call quiet_cmd_no_at,NVLD) -r -z noexecstack --format=binary \ + $$(notdir $(1)) -o $$(OUTPUTDIR_ABSOLUTE)/$$(notdir $$@) + $$(call quiet_cmd,OBJCOPY) \ + --rename-section .data=.rodata,contents,alloc,load,data,readonly \ -- cgit v1.2.3