mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-15 06:29:24 +00:00
44 lines
1.4 KiB
Text
44 lines
1.4 KiB
Text
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
ARCH="sparc"
|
|
ACCEPT_KEYWORDS="${ARCH} ~${ARCH}"
|
|
|
|
# 64bit kernel, 32bit userland
|
|
PROFILE_ARCH="sparc64"
|
|
|
|
# We need sparc64 binutils for linux-headers
|
|
CTARGETS_BINUTILS="sparc-unknown-linux-gnu sparc64-unknown-linux-gnu"
|
|
|
|
# The funky stuffs for handling different kernel compiler than userland compiler
|
|
KERNEL_ABI="sparc64"
|
|
CHOST_sparc64="sparc64-unknown-linux-gnu"
|
|
LDFLAGS_sparc64="-m elf64_sparc"
|
|
|
|
# Multilib stuff
|
|
CFLAGS_sparc32="" # 32 bit is the default, so no need to set it.
|
|
LDFLAGS_sparc32="" # setting it would make gcc use -m32 and -m64 at the same time
|
|
CHOST_sparc32="sparc-unknown-linux-gnu"
|
|
CTARGET_sparc32="sparc-unknown-linux-gnu"
|
|
# do NOT set CFLAGS_sparc64 here it'd break linux-headers for non-multilib
|
|
# profiles
|
|
|
|
LIBDIR_sparc32="lib"
|
|
LIBDIR_sparc64="lib64"
|
|
|
|
# Compiler flags
|
|
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
|
|
CXXFLAGS="${CFLAGS}"
|
|
|
|
# These are here to override features/32bit-userland's settings. DO NOT REMOVE!
|
|
FEATURES="-multilib-strict"
|
|
MULTILIB_STRICT_DIRS="/lib32 /usr/lib32 /usr/kde/*/lib32 /usr/qt/*/lib32 /usr/X11R6/lib32"
|
|
|
|
# Gustavo Zacarias <gustavoz@gentoo.org> (2006-10-05)
|
|
# Defaults for video drivers
|
|
VIDEO_CARDS="fbdev mga r128 radeon"
|
|
|
|
# Sergei Trofimovich <slyfox@gentoo.org> (2018-06-24)
|
|
# Enable USE=libtirpc by default, to ease dependency resolution during
|
|
# the stabilization of glibc-2.26. Bug 657148
|
|
USE="libtirpc"
|