From 86e303876361ac995e9bb05b04aa2876d862d363 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <randrianasulu@gmail.com>
Date: Sun, 8 Jan 2023 10:20:04 +0300
Subject: [PATCH] use CXX variable in libbthread-master Makefile fixes
 compilation on FreeBSD 12.3

---
 cinelerra-5.1/libbthread-master/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cinelerra-5.1/libbthread-master/Makefile b/cinelerra-5.1/libbthread-master/Makefile
index f6480a60..af3276b5 100644
--- a/cinelerra-5.1/libbthread-master/Makefile
+++ b/cinelerra-5.1/libbthread-master/Makefile
@@ -4,7 +4,7 @@ all:
 #
 #	mv pt-test.c pt-test
 #	cat `ls *.c` > just-pt.c
-	g++ -c -o jpt.o just-pt.cc -I.
+	$(CXX) -c -o jpt.o just-pt.cc -I.
 	ar crs jpt.a jpt.o
 clean:
 	rm -f *.a *.o
-- 
2.39.0

