mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Don't use -Wl,--no-undefined on OpenBSD
Breaks the build since version 7.00
This commit is contained in:
parent
6da4a31740
commit
60bef10748
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -252,8 +252,8 @@ endif
|
|||
CFLAGS += -fvisibility=hidden
|
||||
LDFLAGS += -fvisibility=hidden
|
||||
|
||||
ifneq ($(YQ2_OSTYPE), Darwin)
|
||||
# for some reason the OSX linker doesn't support this
|
||||
ifneq ($(YQ2_OSTYPE), $(filter $(YQ2_OSTYPE), Darwin, OpenBSD))
|
||||
# for some reason the OSX & OpenBSD linker doesn't support this
|
||||
LDFLAGS += -Wl,--no-undefined
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue