PKGBUILDs/core/nspr/0002-configure.in-Remove-assembly-files-from-build.patch

40 lines
1.2 KiB
Diff
Raw Permalink Normal View History

2023-12-14 16:35:10 +00:00
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Sun, 10 Dec 2023 16:11:13 +0100
Subject: [PATCH] configure.in: Remove assembly files from build
---
configure.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure.in b/configure.in
2024-10-23 23:40:20 +00:00
index 1a3e489eb1fd..d45fd5702ecd 100644
2023-12-14 16:35:10 +00:00
--- a/configure.in
+++ b/configure.in
2024-10-23 23:40:20 +00:00
@@ -1584,21 +1584,21 @@ tools are selected during the Xcode/Developer Tools installation.])
2023-12-14 16:35:10 +00:00
;;
i*86)
AC_DEFINE(i386)
- PR_MD_ASFILES=os_Linux_x86.s
+ PR_MD_ASFILES=
;;
ia64)
PR_MD_ASFILES=os_Linux_ia64.s
;;
x86_64)
if test -n "$USE_64"; then
- PR_MD_ASFILES=os_Linux_x86_64.s
+ PR_MD_ASFILES=
elif test -n "$USE_X32"; then
- PR_MD_ASFILES=os_Linux_x86_64.s
+ PR_MD_ASFILES=
CC="$CC -mx32"
CXX="$CXX -mx32"
else
AC_DEFINE(i386)
- PR_MD_ASFILES=os_Linux_x86.s
+ PR_MD_ASFILES=
CC="$CC -m32"
CXX="$CXX -m32"
fi