Set USE_WXNEEDED rather than manually modifying linker flags.
This commit is contained in:
parent
510a07e0c0
commit
1586688f4e
@ -1,7 +1,7 @@
|
||||
# $OpenBSD: Makefile,v 1.13 2016/08/11 07:43:20 bentley Exp $
|
||||
# $OpenBSD: Makefile,v 1.14 2016/08/20 00:14:01 bentley Exp $
|
||||
|
||||
COMMENT = n64 emulator command-line ui plugin
|
||||
REVISION = 3
|
||||
REVISION = 4
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
@ -14,4 +14,6 @@ MUPEN64PLUS_MOD = ui-console
|
||||
MAKE_FLAGS += MANDIR=${PREFIX}/man \
|
||||
PIE=1
|
||||
|
||||
USE_WXNEEDED = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,11 +0,0 @@
|
||||
$OpenBSD: patch-projects_unix_Makefile,v 1.1 2016/08/11 07:43:20 bentley Exp $
|
||||
--- projects/unix/Makefile.orig Mon Aug 8 00:17:47 2016
|
||||
+++ projects/unix/Makefile Mon Aug 8 00:18:04 2016
|
||||
@@ -39,6 +39,7 @@ ifeq ("$(UNAME)","FreeBSD")
|
||||
OS = FREEBSD
|
||||
endif
|
||||
ifeq ("$(UNAME)","OpenBSD")
|
||||
+ LDFLAGS += -Wl,-z,wxneeded
|
||||
OS = FREEBSD
|
||||
$(warning OS type "$(UNAME)" not officially supported.')
|
||||
endif
|
Loading…
Reference in New Issue
Block a user