From b9bc8e525d4f7348556c4841cbad99af81d4c6b4 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 11 May 2023 14:14:59 +0200 Subject: [PATCH] add comment about ignored LDFLAGS --- gpsd.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gpsd.spec b/gpsd.spec index 3d9733c..b05c013 100644 --- a/gpsd.spec +++ b/gpsd.spec @@ -114,6 +114,8 @@ iconv -f iso8859-1 -t utf8 NEWS > NEWS_ && mv NEWS_ NEWS %build export CCFLAGS="%{optflags}" +# scons ignores LDFLAGS. LINKFLAGS partially work (some flags like +# -spec=... are filtered) export LINKFLAGS="%{__global_ldflags}" # breaks with %%{_smp_mflags}