Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37841991
en ru br
ALT Linux repositórios
S:9.11.36-alt1

Group :: Sistema/Bibliotecas
RPM: libisc-export-dhcp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 0005-Fix-build-on-ppc-with-LTO.patch
Download


From 0 Mon Sep 17 00:00:00 2001
From: Mikhail Efremov <sem@altlinux.org>
Date: Tue, 7 Sep 2021 20:30:00 +0300
Subject: [PATCH 5] Fix build on ppc with LTO
Don't check for MacOS style assembler syntax, this goes wrong
with LTO enabled.
diff --git a/bind/configure.ac b/bind/configure.ac
index defaced..defaced 100644
--- a/bind/configure.ac
+++ b/bind/configure.ac
@@ -4229,21 +4229,6 @@ if test "yes" = "$have_atomic"; then
 			# We can share the same code for gcc with x86_32
 			arch=x86_32
 		fi
-		if test $arch = "powerpc"; then
-			#
-			# The MacOS (and maybe others) uses "r0" for register
-			# zero. Under linux/ibm it is "0" for register 0.
-			# Probe to see if we have a MacOS style assembler.
-			#
-			AC_MSG_CHECKING([Checking for MacOS style assembler syntax])
-			AC_TRY_COMPILE(, [
-			__asm__ volatile ("li r0, 0x0\n"::);
-			], [
-			AC_MSG_RESULT(yes)
-			compiler="mac"
-			ISC_PLATFORM_USEMACASM="#define ISC_PLATFORM_USEMACASM 1"
-			], [AC_MSG_RESULT(no)])
-		fi
 	else
 		case "$host" in
 		alpha*-dec-osf*)
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009