progs/glsl: Ensure CFLAGS are passed during linking
authorDan Nicholson <dbn.lists@gmail.com>
Fri, 26 Feb 2010 18:01:37 +0000 (10:01 -0800)
committerDan Nicholson <dbn.lists@gmail.com>
Fri, 26 Feb 2010 19:05:54 +0000 (11:05 -0800)
commit3a650ba3a2f6ec23f74ff602bafd4d8bf3c35d45
tree47af2cc61ac40af1a31afe03d5dd47103eba1810
parent88c174d182139e9433db70b81393276250c8ee20
progs/glsl: Ensure CFLAGS are passed during linking

Commit ab6825b3e3fd04564b7840e945fa32b0a7b3c0c2 fixed an issue where the
architecture option -m32 wasn't being passed to the compiler when
linking .o files. This would only fix the issue with user's building
with the hacky --enable-32-bit. The right way to fix this is to pass
CFLAGS to the linker, which the GNU make builtin rules unfortunately
don't do.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Tested-by: Török Edwin <edwintorok@gmail.com>
progs/glsl/Makefile