diff --git a/solenv/inc/unxmacx.mk b/solenv/inc/unxmacx.mk index b40814b9a9d7..571a7222e00d 100644 --- a/solenv/inc/unxmacx.mk +++ b/solenv/inc/unxmacx.mk @@ -85,8 +85,8 @@ ARCH_FLAGS*= # objcpp = Objective C++ compiler to use CXX*=g++ CC*=gcc -objc*=gcc -objcpp*=g++ +objc*=$(CC) +objcpp*=$(CXX) CFLAGS=-fsigned-char -fmessage-length=0 -malign-natural -c $(EXTRA_CFLAGS)