diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2024-02-09 00:05:46 +0100 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2024-02-11 12:48:44 +0100 |
commit | 752cebc74dc254096467a3e04ae0a3a700c97440 (patch) | |
tree | f669a4c0fbf9cbba6ad88c02f16c24119d02c283 /science | |
parent | 75c26805ced2ba097d843176818dab41514df751 (diff) | |
download | freebsd-ports-752cebc74dc254096467a3e04ae0a3a700c97440.zip |
science/simgrid: fix build on powerpc by disabling LTO due to OOM
While here, remove outdated comment.
Diffstat (limited to 'science')
-rw-r--r-- | science/simgrid/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/science/simgrid/Makefile b/science/simgrid/Makefile index 8762787ffdda..89b851b2afef 100644 --- a/science/simgrid/Makefile +++ b/science/simgrid/Makefile @@ -29,7 +29,11 @@ CMAKE_OFF= enable_python LDFLAGS+= /usr/lib/liblzma.so # workaround for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237919 -# it'll probably break on gcc-based systems, see https://framagit.org/simgrid/simgrid/issues/12, it'll need CMAKE_OFF=enable_lto and possibly more +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc +CMAKE_ARGS+= -Denable_lto:BOOL=OFF +.endif # tests fail, see https://github.com/simgrid/simgrid/issues/384 |