Projects
Eulaceura:Mainline:GA
tix
_service:obs_scm:tix-Add-sw64-architecture.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:tix-Add-sw64-architecture.patch of Package tix
From de5e0b32b18e261f11b79805ad46215dc2bf4213 Mon Sep 17 00:00:00 2001 From: Wu Zixuan <wuzx1226@qq.com> Date: Mon, 28 Nov 2022 16:41:47 +0800 Subject: [PATCH] Add sw64 architecture Add sw64 architecture in file configure tclconfig/tcl.m4 to support sw64 architecture. Signed-off-by: Wu Zixuan <wuzx1226@qq.com> --- configure | 6 ++++++ tclconfig/tcl.m4 | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/configure b/configure index 55fafea..5aebb49 100755 --- a/configure +++ b/configure @@ -8935,6 +8935,9 @@ echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} if test "`uname -m`" = "alpha" ; then CFLAGS="$CFLAGS -mieee" fi + if test "`uname -m`" = "sw_64" ; then + CFLAGS="$CFLAGS -mieee" + fi if test $do64bit = yes; then echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5 echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6 @@ -9026,6 +9029,9 @@ echo "${ECHO_T}$tcl_cv_cc_m64" >&6 if test "`uname -m`" = "alpha" ; then CFLAGS="$CFLAGS -mieee" fi + if test "`uname -m`" = "sw_64" ; then + CFLAGS="$CFLAGS -mieee" + fi ;; Lynx*) SHLIB_CFLAGS="-fPIC" diff --git a/tclconfig/tcl.m4 b/tclconfig/tcl.m4 index b7d1c44..490bffc 100644 --- a/tclconfig/tcl.m4 +++ b/tclconfig/tcl.m4 @@ -1461,6 +1461,9 @@ dnl AC_CHECK_TOOL(AR, ar) if test "`uname -m`" = "alpha" ; then CFLAGS="$CFLAGS -mieee" fi + if test "`uname -m`" = "sw_64" ; then + CFLAGS="$CFLAGS -mieee" + fi if test $do64bit = yes; then AC_CACHE_CHECK([if compiler accepts -m64 flag], tcl_cv_cc_m64, [ hold_cflags=$CFLAGS @@ -1499,6 +1502,9 @@ dnl AC_CHECK_TOOL(AR, ar) if test "`uname -m`" = "alpha" ; then CFLAGS="$CFLAGS -mieee" fi + if test "`uname -m`" = "sw_64" ; then + CFLAGS="$CFLAGS -mieee" + fi ;; Lynx*) SHLIB_CFLAGS="-fPIC" -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2