Date: Sun, 26 Feb 2023 08:51:06 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a036ab4649a8 - main - devel/libvex: Add missing C++ files; Remove debug flag; Add arch-specific define Message-ID: <202302260851.31Q8p6Px046586@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=a036ab4649a8a73102ec59e757f775d6eb5669f9 commit a036ab4649a8a73102ec59e757f775d6eb5669f9 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-02-26 08:18:45 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-02-26 08:18:45 +0000 devel/libvex: Add missing C++ files; Remove debug flag; Add arch-specific define --- devel/libvex/Makefile | 3 +++ devel/libvex/files/patch-Makefile-gcc | 30 ++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/devel/libvex/Makefile b/devel/libvex/Makefile index 3f68284b203a..b404042cbfa1 100644 --- a/devel/libvex/Makefile +++ b/devel/libvex/Makefile @@ -1,5 +1,6 @@ PORTNAME= libvex DISTVERSION= g20230201 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org @@ -20,6 +21,8 @@ WRKSRC_SUBDIR= VEX MAKEFILE= Makefile-gcc +CFLAGS+= -DVGA_${ARCH:S/i386/x86/:S/aarch64/arm/:S/powerpc64/ppc64le/:S/powerpc/ppc32/:S/mips/mips64/} + MAKE_ARGS= EXTRA_CFLAGS="${CFLAGS}" do-install: diff --git a/devel/libvex/files/patch-Makefile-gcc b/devel/libvex/files/patch-Makefile-gcc new file mode 100644 index 000000000000..88e96d8e3dc3 --- /dev/null +++ b/devel/libvex/files/patch-Makefile-gcc @@ -0,0 +1,30 @@ +--- Makefile-gcc.orig 2023-02-01 10:16:51 UTC ++++ Makefile-gcc +@@ -68,6 +68,7 @@ LIB_OBJS = priv/ir_defs.o \ + priv/host_generic_simd128.o \ + priv/host_generic_simd256.o \ + priv/host_generic_reg_alloc2.o \ ++ priv/host_generic_reg_alloc3.o \ + priv/guest_generic_x87.o \ + priv/guest_generic_bb_to_IR.o \ + priv/guest_x86_helpers.o \ +@@ -107,7 +108,7 @@ CCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototyp + -Wpointer-arith -Wbad-function-cast -Wcast-qual \ + -Wcast-align -Wmissing-declarations \ + -Wwrite-strings -Wformat -Wformat-security \ +- $(EXTRA_CFLAGS) -g -O2 -fstrict-aliasing ++ $(EXTRA_CFLAGS) -O2 -fstrict-aliasing + + #CC = icc + #CCFLAGS = -g -Wall -wd981 -wd279 -wd1287 -wd869 -wd111 -wd188 -wd186 +@@ -346,6 +347,10 @@ priv/host_generic_simd256.o: $(ALL_HEADERS) priv/host_ + priv/host_generic_reg_alloc2.o: $(ALL_HEADERS) priv/host_generic_reg_alloc2.c + $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_generic_reg_alloc2.o \ + -c priv/host_generic_reg_alloc2.c ++ ++priv/host_generic_reg_alloc3.o: $(ALL_HEADERS) priv/host_generic_reg_alloc3.c ++ $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_generic_reg_alloc3.o \ ++ -c priv/host_generic_reg_alloc3.c + + priv/guest_x86_toIR.o: $(ALL_HEADERS) priv/guest_x86_toIR.c + $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/guest_x86_toIR.o \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302260851.31Q8p6Px046586>