quakespasm/Quake/build_cross_haiku64-sdl2.sh
Jaycie Ewald c1e8a1e692 add Haiku OS cross-compile support
x86 and x86_64 both tested and working.
2023-05-23 00:52:43 -05:00

16 lines
351 B
Bash
Executable file

#!/bin/sh
# Change this script to meet your needs and/or environment.
TARGET=x86_64-unknown-haiku
MAKE_CMD=make
CC="$TARGET-gcc"
AS="$TARGET-as"
RANLIB="$TARGET-ranlib"
AR="$TARGET-ar"
STRIP="$TARGET-strip"
export CC AS AR RANLIB STRIP
exec $MAKE_CMD HAIKU_OS=1 LINK_M=0 USE_SDL2=1 CC=$CC AS=$AS RANLIB=$RANLIB AR=$AR STRIP=$STRIP -f Makefile $*