oslogin: Make CXX overridable
Give systems that don't use g++ a chance, while keeping it as the
default for systems that does.
@@ -15,7 +15,7 @@ AUTHKEYS_INSTALL_PATH = /usr/bin
JSON_INCLUDE_PATH = /usr/include/json-c
INCLUDE_FLAGS = -I$(JSON_INCLUDE_PATH)
-CXX = g++
+CXX ?= g++
CXXFLAGS += -fPIC# -Wall
PAMFLAGS = $(LDFLAGS) $(INCLUDE_FLAGS) -shared
NSSFLAGS = $(LDFLAGS) $(INCLUDE_FLAGS) -shared -Wl,-soname,$(NSS_LIBRARY_SONAME)
