mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Add support for the GNU/Hurd architecture
[As with GNU/kFreeBSD, it's treated as "Linux": all three use the GNU libc and runtime linker, which is mostly what matters for ioquake3. -smcv] Bug-Debian: http://bugs.debian.org/679330 Reviewed-by: Simon McVittie <smcv@debian.org>
This commit is contained in:
parent
53bbfc2cd6
commit
540e4225cc
2 changed files with 5 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -299,7 +299,7 @@ LIB=lib
|
|||
INSTALL=install
|
||||
MKDIR=mkdir
|
||||
|
||||
ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu"))
|
||||
ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu" "gnu"))
|
||||
|
||||
ifeq ($(ARCH),x86_64)
|
||||
LIB=lib64
|
||||
|
|
|
@ -169,14 +169,16 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
|
||||
//================================================================= LINUX ===
|
||||
|
||||
#if defined(__linux__) || defined(__FreeBSD_kernel__)
|
||||
#if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__GNU__)
|
||||
|
||||
#include <endian.h>
|
||||
|
||||
#if defined(__linux__)
|
||||
#define OS_STRING "linux"
|
||||
#else
|
||||
#elif defined(__FreeBSD_kernel__)
|
||||
#define OS_STRING "kFreeBSD"
|
||||
#else
|
||||
#define OS_STRING "GNU"
|
||||
#endif
|
||||
|
||||
#define ID_INLINE inline
|
||||
|
|
Loading…
Reference in a new issue