From 442c37e2ef57d8dcf88c91d457df7f6516d76264 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Thu, 1 Jul 2010 12:58:57 -0700 Subject: [PATCH] Use GLW_CFLAGS when building libGLw We check for libX11 and libXt, so we might as well use the CFLAGS pkg-config tells us about. --- configs/autoconf.in | 1 + src/glw/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/autoconf.in b/configs/autoconf.in index 4a86dc1bb5c..78fa0af6cc1 100644 --- a/configs/autoconf.in +++ b/configs/autoconf.in @@ -31,6 +31,7 @@ X11_CFLAGS = @X11_CFLAGS@ LLVM_CFLAGS = @LLVM_CFLAGS@ LLVM_LDFLAGS = @LLVM_LDFLAGS@ LLVM_LIBS = @LLVM_LIBS@ +GLW_CFLAGS = @GLW_CFLAGS@ GLUT_CFLAGS = @GLUT_CFLAGS@ diff --git a/src/glw/Makefile b/src/glw/Makefile index 1fb3d3c3202..39352f05320 100644 --- a/src/glw/Makefile +++ b/src/glw/Makefile @@ -17,7 +17,7 @@ OBJECTS = $(GLW_SOURCES:.c=.o) ##### RULES ##### .c.o: - $(CC) -c $(INCDIRS) $(CFLAGS) $< + $(CC) -c $(INCDIRS) $(CFLAGS) $(GLW_CFLAGS) $< -- 2.30.2