git: 5632b7bc1130 - main - emulators/emu64: fix build without libomp
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Aug 2024 12:01:08 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5632b7bc11302f32d5a88461e0052941c884314a
commit 5632b7bc11302f32d5a88461e0052941c884314a
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-07-30 14:22:43 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-08-04 12:00:22 +0000
emulators/emu64: fix build without libomp
ld: error: unable to find library -lomp
---
emulators/emu64/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/emulators/emu64/Makefile b/emulators/emu64/Makefile
index 251f3f6b1b89..c65b5915d2bb 100644
--- a/emulators/emu64/Makefile
+++ b/emulators/emu64/Makefile
@@ -26,4 +26,8 @@ GH_ACCOUNT= ThKattanek
OPTIONS_DEFINE= DOCS
+.if !exists(/usr/include/omp.h)
+USE_GCC= yes
+.endif
+
.include <bsd.port.mk>