diff --git a/Makefile b/Makefile index 86743f0..ab37e6e 100644 --- a/Makefile +++ b/Makefile @@ -30,4 +30,4 @@ CXXFLAGS += -DPRIMUS_libGLd='"$(PRIMUS_libGLd)"' $(LIBDIR)/libGL.so.1: libglfork.cpp mkdir -p $(LIBDIR) - $(CXX) $(CXXFLAGS) -fvisibility=hidden -fPIC -shared -Wl,-Bsymbolic -o $@ $< -lX11 -lpthread -lrt + $(CXX) $(CPPFLAGS) $(CXXFLAGS) -fvisibility=hidden -fPIC -shared -Wl,-Bsymbolic -o $@ $< -lX11 -lpthread -lrt