progs/glsl: add ARCH_FLAGS to LDLIBS
authorTörök Edvin <edwintorok@gmail.com>
Thu, 25 Feb 2010 16:02:43 +0000 (09:02 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Feb 2010 01:58:55 +0000 (18:58 -0700)
Allows building 32-bit demos on 64-bit Debian host.

Signed-off-by: Brian Paul <brianp@vmware.com>
progs/glsl/Makefile

index 8928c833c0e7725923a127d60b8828495860f78a..aaa54cbe71acd70e9d05c0874a81265c42d5d613 100644 (file)
@@ -16,7 +16,7 @@ LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLEW_LIB) -l$(GLU_LIB) \
 # using : to avoid APP_CC pointing to CC loop
 CC := $(APP_CC)
 CFLAGS := -I$(INCDIR) $(CFLAGS)
-LDLIBS = $(LIBS)
+LDLIBS = $(LIBS) $(ARCH_FLAGS)
 
 PROG_SOURCES = \
        array.c \