commit c6ebf7d71fa1d070c50dd11d6d83736e82228503
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Wed Oct 18 13:37:24 2023 +0100
Undefine ld target emulation
nvidia-settings.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/nvidia-settings.spec b/nvidia-settings.spec
index 045e3d8..78de214 100644
--- a/nvidia-settings.spec
+++ b/nvidia-settings.spec
@@ -56,12 +56,14 @@ export CFLAGS="%{optflags}"
export LDFLAGS="%{?__global_ldflags}"
pushd src/libXNVCtrl
%make_build \
+ LD_TARGET_EMULATION_FLAG="" \
NVDEBUG=1 \
NV_VERBOSE=1 \
X_CFLAGS="${CFLAGS}"
popd
%make_build \
+ LD_TARGET_EMULATION_FLAG="" \
NVDEBUG=1 \
NV_VERBOSE=1 \
STRIP_CMD=true NV_KEEP_UNSTRIPPED_BINARIES=1 \