Skip to content

Commit 4c167bc

Browse files
committed
Use correct C++ compiler to create ui/kwp.h
1 parent e19ef80 commit 4c167bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ buildFLTK() {
480480
AC_SUBST(desktopentrydir)
481481

482482
dnl generate kwp.h
483-
(cd src/platform/fltk && g++ -o build_kwp build_kwp.cxx && ./build_kwp)
483+
(cd src/platform/fltk && ${CXX} -o build_kwp build_kwp.cxx && ./build_kwp)
484484
}
485485

486486
if test x$ac_build_sdl = xyes; then
@@ -499,7 +499,7 @@ else
499499
buildConsole
500500
fi
501501

502-
(cd documentation && g++ -o build_kwp build_kwp.cpp && ./build_kwp > ../src/ui/kwp.h)
502+
(cd documentation && ${CXX} -o build_kwp build_kwp.cpp && ./build_kwp > ../src/ui/kwp.h)
503503

504504
checkPCRE
505505
checkTermios

0 commit comments

Comments
 (0)