From 6efb19ea1bfe62e8721bb27d34758a4330f1b332 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 9 Nov 2024 06:33:14 +0000 Subject: [PATCH] Remove unnecessary `export LINKCC=gcc` I tracked the addition of this line to a 20-year old commit: https://src.fedoraproject.org/rpms/python2/c/d4a39597bc32ab2cf84b43a3b0c71a18d1a0e0ec I can't see why this would still be necessary, and it also prevents the package from being built with clang. --- python3.14.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python3.14.spec b/python3.14.spec index a619c87..683d1b8 100644 --- a/python3.14.spec +++ b/python3.14.spec @@ -822,7 +822,6 @@ export CFLAGS_NODIST="%{build_cflags} -D_GNU_SOURCE -fPIC -fwrapv" export CXXFLAGS="%{extension_cxxflags}" export CPPFLAGS="$(pkg-config --cflags-only-I libffi)" export OPT="%{extension_cflags}" -export LINKCC="gcc" export CFLAGS="$CFLAGS $(pkg-config --cflags openssl)" export LDFLAGS="%{extension_ldflags} $(pkg-config --libs-only-L openssl)" export LDFLAGS_NODIST="%{build_ldflags} -g $(pkg-config --libs-only-L openssl)"