mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 14:52:00 +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
|
||||
endif
|
||||
|
||||
ifeq ($(USE_LOCAL_HEADERS),1)
|
||||
BASE_CFLAGS += -I$(SDLHDIR)/include
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH),i386)
|
||||
# linux32 make ...
|
||||
BASE_CFLAGS += -m32
|
||||
|
|
Loading…
Reference in a new issue