mirror of
https://github.com/yquake2/zaero.git
synced 2024-11-23 20:32:14 +00:00
Mark all required CFLAGS and LDFLAGS definition as override.
This fixes the build with the current Windows build environment. Fixes #31.
This commit is contained in:
parent
bd7cc48abb
commit
d4b117d946
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -120,15 +120,15 @@ endif
|
|||
# ----------
|
||||
|
||||
# Defines the operating system and architecture
|
||||
CFLAGS += -DYQ2OSTYPE=\"$(YQ2_OSTYPE)\" -DYQ2ARCH=\"$(YQ2_ARCH)\"
|
||||
override CFLAGS += -DYQ2OSTYPE=\"$(YQ2_OSTYPE)\" -DYQ2ARCH=\"$(YQ2_ARCH)\"
|
||||
|
||||
# ----------
|
||||
|
||||
# Base LDFLAGS.
|
||||
ifeq ($(YQ2_OSTYPE), Darwin)
|
||||
LDFLAGS := -shared -arch $(YQ2_ARCH)
|
||||
override LDFLAGS := -shared -arch $(YQ2_ARCH)
|
||||
else
|
||||
LDFLAGS := -shared
|
||||
override LDFLAGS := -shared
|
||||
endif
|
||||
|
||||
# ----------
|
||||
|
|
Loading…
Reference in a new issue