Fix for freebsd on odoors
This commit is contained in:
parent
1584db33eb
commit
923d242bac
9
deps/odoors/GNUmakefile
vendored
9
deps/odoors/GNUmakefile
vendored
@ -37,7 +37,6 @@
|
|||||||
# bcc - For Borland C++
|
# bcc - For Borland C++
|
||||||
# cl - For Microsoft compilers
|
# cl - For Microsoft compilers
|
||||||
#
|
#
|
||||||
CC := gcc
|
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -53,7 +52,13 @@ OBJDIR := objs-$(OS)/
|
|||||||
LIBDIR := libs-$(OS)/
|
LIBDIR := libs-$(OS)/
|
||||||
EXEDIR := exe-$(OS)/
|
EXEDIR := exe-$(OS)/
|
||||||
|
|
||||||
LD := gcc
|
ifeq ($(OS), FreeBSD)
|
||||||
|
CC := cc
|
||||||
|
LD := cc
|
||||||
|
else
|
||||||
|
CC := gcc
|
||||||
|
LD := gcc
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef DEBUG
|
ifdef DEBUG
|
||||||
CFLAGS += -g -DOD_DEBUG
|
CFLAGS += -g -DOD_DEBUG
|
||||||
|
Reference in New Issue
Block a user