diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 00:57:10 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 00:57:10 +0000 |
commit | e4bfdb47132ba559d3f205c38c6fd05f3b84d1e5 (patch) | |
tree | d90e397a95f4c7dc554180d079062fa048477d7f /x11-misc/nvidia-legacy-settings/files/nvidia-legacy-settings-linker.patch | |
parent | 721e5c85cea97b8daff045a9640c45c37b4b5bfb (diff) |
move : x11-misc/nvidia-settings:0/390132 -> x11-misc/nvidia-legacy-settings
Diffstat (limited to 'x11-misc/nvidia-legacy-settings/files/nvidia-legacy-settings-linker.patch')
-rw-r--r-- | x11-misc/nvidia-legacy-settings/files/nvidia-legacy-settings-linker.patch | 22 |
1 files changed, 22 insertions, 0 deletions
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 \ |