Commit 591e83a1 authored by Sean McGovern's avatar Sean McGovern Committed by Rafaël Carré

contrib: add Solaris to bootstrap

Signed-off-by: Rafaël Carré's avatarRafaël Carré <funman@videolan.org>
parent 5428d0e1
......@@ -265,6 +265,9 @@ case "${OS}" in
*mingw*)
add_make_enabled "HAVE_WIN32"
;;
*solaris*)
add_make_enabled "HAVE_SOLARIS"
;;
esac
#
......
......@@ -148,6 +148,16 @@ HAVE_MINGW_W64 := 1
endif
endif
ifdef HAVE_SOLARIS
ifeq ($(ARCH),x86_64)
EXTRA_CFLAGS += -m64
EXTRA_LDFLAGS += -m64
else
EXTRA_CFLAGS += -m32
EXTRA_LDFLAGS += -m32
endif
endif
cppcheck = $(shell $(CC) $(CFLAGS) -E -dM - < /dev/null | grep -E $(1))
EXTRA_CFLAGS += -I$(PREFIX)/include
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment