mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Allow USE_LOCAL_HEADERS to work with SDL on Linux builds.
Otherwise, cross-compiling doesn't work.
This commit is contained in:
parent
45c18e29b8
commit
b9a9727689
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -296,6 +296,10 @@ ifeq ($(PLATFORM),linux)
|
||||||
CLIENT_LDFLAGS += -lrt
|
CLIENT_LDFLAGS += -lrt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(USE_LOCAL_HEADERS),1)
|
||||||
|
BASE_CFLAGS += -I$(SDLHDIR)/include
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(ARCH),i386)
|
ifeq ($(ARCH),i386)
|
||||||
# linux32 make ...
|
# linux32 make ...
|
||||||
BASE_CFLAGS += -m32
|
BASE_CFLAGS += -m32
|
||||||
|
|
Loading…
Reference in a new issue