mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Makefile.common: make LUNATIC be set to 0 if not set from env ("?=0").
Also override LTO to 0 in Lunatic builds. git-svn-id: https://svn.eduke32.com/eduke32@3957 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e7e8f00670
commit
8c9f0b740d
1 changed files with 9 additions and 3 deletions
|
@ -137,6 +137,7 @@ BUILD32_ON_64 ?= 0
|
||||||
USE_LIBPNG ?= 1
|
USE_LIBPNG ?= 1
|
||||||
USE_LIBVPX ?= 1
|
USE_LIBVPX ?= 1
|
||||||
NETCODE ?= 1
|
NETCODE ?= 1
|
||||||
|
LUNATIC ?= 0
|
||||||
|
|
||||||
ifeq (0,$(USE_OPENGL))
|
ifeq (0,$(USE_OPENGL))
|
||||||
POLYMER = 0
|
POLYMER = 0
|
||||||
|
@ -180,6 +181,12 @@ ifneq ($(DEBUGANYWAY),0)
|
||||||
override STRIP=
|
override STRIP=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(LUNATIC),0)
|
||||||
|
# FIXME: Lunatic builds with LTO don't start up properly as the required
|
||||||
|
# symbol names are apparently not exported.
|
||||||
|
override LTO=0
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef LTO
|
ifndef LTO
|
||||||
LTO=1
|
LTO=1
|
||||||
ifneq (0,$(CLANG))
|
ifneq (0,$(CLANG))
|
||||||
|
@ -422,10 +429,9 @@ ifeq ($(PLATFORM),DARWIN)
|
||||||
-I/opt/local/include -I/sw/include -I/usr/local/include
|
-I/opt/local/include -I/sw/include -I/usr/local/include
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#### Lunatic development, do not touch!
|
#### Lunatic development
|
||||||
LUNATIC=0
|
# LuaJIT standalone interpreter executable:
|
||||||
LUAJIT=luajit
|
LUAJIT=luajit
|
||||||
|
|
||||||
# for LJ headers:
|
# for LJ headers:
|
||||||
LUAJIT_WIN_SRC:= f:/g/mod/luajit-2.0/src
|
LUAJIT_WIN_SRC:= f:/g/mod/luajit-2.0/src
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue