Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37725430
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: libisc-export-dhcp

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: 0005-Fix-build-on-ppc-with-LTO.patch
Скачать


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*)
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin