riscv64-support
=================================================================== Gbp-Pq: Name riscv64-support.patch
This commit is contained in:
parent
8ba3ea54d7
commit
a640907317
|
@ -1042,6 +1042,10 @@ XCOMM Keep cpp from replacing path elements containing i486/i586/i686
|
|||
# define AArch64Architecture
|
||||
# undef __aarch64__
|
||||
# endif
|
||||
# if defined(__riscv) && (__riscv_xlen == 64)
|
||||
# define RISCV64Architecture
|
||||
# /* undef __riscv */
|
||||
# endif
|
||||
#endif /* linux || __GLIBC__ */
|
||||
|
||||
#if (defined(__Lynx__) || defined(Lynx)) && (defined(i386) || defined(__i386__) || defined(__x86__) || defined(__powerpc__) || defined(__sparc__) || defined(sparc))
|
||||
|
|
|
@ -1117,6 +1117,15 @@ InstallNamedTargetNoClobber(install,file.ad,$(INSTAPPFLAGS),$(XAPPLOADDIR),class
|
|||
# define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
|
||||
#endif /* AArch64Architecture */
|
||||
|
||||
#ifdef RISCV64Architecture
|
||||
# ifndef OptimizedCDebugFlags
|
||||
# define OptimizedCDebugFlags DefaultGcc2RISCV64Opt DefaultGcc2OptimizeOpt GccAliasingArgs
|
||||
# endif
|
||||
# define LinuxMachineDefines -D__riscv
|
||||
# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
|
||||
# define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
|
||||
#endif /* RISCV64Architecture */
|
||||
|
||||
#ifndef StandardDefines
|
||||
# ifdef __linux__
|
||||
# define StandardDefines -Dlinux LinuxMachineDefines LinuxSourceDefines
|
||||
|
|
|
@ -2067,6 +2067,12 @@ XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#if HasGcc2 && defined(RISCV64Architecture)
|
||||
# ifndef DefaultGcc2RISCV64Opt
|
||||
# define DefaultGcc2RISCV64Opt DefaultGcc2OptimizeOpt GccAliasingArgs
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if HasGcc2 && defined(AlphaArchitecture)
|
||||
# ifndef DefaultGcc2AxpOpt
|
||||
# define DefaultGcc2AxpOpt DefaultGcc2OptimizeOpt GccAliasingArgs
|
||||
|
|
|
@ -1584,6 +1584,12 @@ XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#if HasGcc2 && defined(RISCV64Architecture)
|
||||
# ifndef DefaultGcc2RISCV64Opt
|
||||
# define DefaultGcc2RISCV64Opt DefaultGcc2OptimizeOpt GccAliasingArgs
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if HasGcc2 && defined(AMD64Architecture)
|
||||
# ifndef DefaultGcc2AMD64Opt
|
||||
# define DefaultGcc2AMD64Opt DefaultGcc2OptimizeOpt GccAliasingArgs
|
||||
|
|
Loading…
Reference in New Issue