Skip to content

Commit

Permalink
Allow passing custom CC and CXX to Makefile.direct
Browse files Browse the repository at this point in the history
Issue #483 (bdwgc).

* Makefile.direct (CC, CXX): Assign value using operator "?=" instead
of "=" one.
  • Loading branch information
plajjan authored and ivmai committed Nov 16, 2022
1 parent a9c187e commit 80d73f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.direct
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ AS_ABI_FLAG?= $(ABI_FLAG)
# ABI flag for assembler. On HP/UX this is +A64 for 64 bit
# executables.

CC= cc $(ABI_FLAG)
CC?= cc $(ABI_FLAG)
# Compiler executable name. For EMX, replace to "gcc".

CXX= g++ $(ABI_FLAG)
CXX?= g++ $(ABI_FLAG)
# Needed only for "make c++", which builds the C++ interface.

AS= as $(AS_ABI_FLAG)
Expand Down

0 comments on commit 80d73f2

Please sign in to comment.