diff options
author | Kristian Larsson <kristian@spritelink.net> | 2022-11-16 23:50:25 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2022-11-16 23:50:25 +0300 |
commit | 80d73f258e0209de2d06c2a8f1fe1ffd16951f27 (patch) | |
tree | 528ecd082470f804bf62eded52033775bf9c04d0 /Makefile.direct | |
parent | a9c187e569e7a58ef38ca412e451ee4a9157d31b (diff) | |
download | bdwgc-80d73f258e0209de2d06c2a8f1fe1ffd16951f27.tar.gz |
Allow passing custom CC and CXX to Makefile.direct
Issue #483 (bdwgc).
* Makefile.direct (CC, CXX): Assign value using operator "?=" instead
of "=" one.
Diffstat (limited to 'Makefile.direct')
-rw-r--r-- | Makefile.direct | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.direct b/Makefile.direct index b7d5af12..4c3803b7 100644 --- a/Makefile.direct +++ b/Makefile.direct @@ -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) |