Skip to content

Commit

Permalink
Makefile: Move CXX print inside an if block
Browse files Browse the repository at this point in the history
  • Loading branch information
KrystalDelusion committed Mar 8, 2024
1 parent 8b8280e commit f317919
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -364,11 +364,14 @@ EXE = .exe
else ifneq ($(CONFIG),none)
$(error Invalid CONFIG setting '$(CONFIG)'. Valid values: clang, gcc, emcc, mxe, msys2-32, msys2-64)
else
$(info Using provided C++ compiler, '$(CXX)'.)
CXXFLAGS += -std=$(CXXSTD) -Os
ABCMKARGS += ARCHFLAGS="-DABC_USE_STDINT_H $(ABC_ARCHFLAGS)"
endif

ifdef WHICH_CXX
$(info Using provided C++ compiler, '$(CXX)'.)
endif

ifeq ($(ENABLE_LIBYOSYS),1)
TARGETS += libyosys.so
endif
Expand Down

0 comments on commit f317919

Please sign in to comment.