Skip to content

Commit

Permalink
Let CXX argument of "make" actually be used
Browse files Browse the repository at this point in the history
C++ compiler was hardcoded to "g++" instead of using the CXX variable.

Patch 0005-Use-compilers-passed-to-make.patch from the Debian/Ubuntu
package.
  • Loading branch information
tillkamppeter committed Apr 2, 2024
1 parent f8501f2 commit d7145b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

$(rastertoqpdl_TARGET): $(rastertoqpdl_OBJ)
$(call printCmd, $(cmd_link))
$(Q)g++ -o $@ $^ $(rastertoqpdl_CXXFLAGS) $(rastertoqpdl_LDFLAGS) \
$(Q)$(CXX) -o $@ $^ $(rastertoqpdl_CXXFLAGS) $(rastertoqpdl_LDFLAGS) \
$(rastertoqpdl_LIBS)

$(pstoqpdl_TARGET): $(pstoqpdl_OBJ)
$(call printCmd, $(cmd_link))
$(Q)g++ -o $@ $^ $(pstoqpdl_CXXFLAGS) $(pstoqpdl_LDFLAGS) \
$(Q)$(CXX) -o $@ $^ $(pstoqpdl_CXXFLAGS) $(pstoqpdl_LDFLAGS) \
$(pstoqpdl_LIBS)

.PHONY: install installcms
Expand Down

0 comments on commit d7145b3

Please sign in to comment.