diff options
author | Ian Romanick <idr@us.ibm.com> | 2005-04-06 21:34:34 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2005-04-06 21:34:34 +0000 |
commit | bfc8a8dc6324f5e984566208bd0a1fa472102917 (patch) | |
tree | 0b5bdede0fe5a243cb8a356d6684527bd6d6adc0 /src | |
parent | 29c909f81ceae4a0356718d6be0a14562c98c019 (diff) |
Make linux-dri-x86-64 more like linux-dri-x86. Add ARCH_FLAGS. This is
where things like "-m64" or "-m32" should be specified. Using this, a
32-bit DRI build can be done on an x86-64 system by doing 'ARCH_CFLAGS=-m32
make linux-dri-x86'. Minor tweaks to linux-dri to support these changes.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/Makefile.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template index df7acff083..d7ecc8fcd9 100644 --- a/src/mesa/drivers/dri/Makefile.template +++ b/src/mesa/drivers/dri/Makefile.template @@ -69,7 +69,7 @@ default: depend symlinks $(LIBNAME) $(LIB_DIR)/$(LIBNAME) $(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile $(TOP)/src/mesa/drivers/dri/Makefile.template rm -f $@ - gcc -o $@ -shared $(OBJECTS) $(MESA_MODULES) $(WINOBJ) $(DRI_LIB_DEPS) + gcc $(ARCH_FLAGS) -o $@ -shared $(OBJECTS) $(MESA_MODULES) $(WINOBJ) $(DRI_LIB_DEPS) $(LIB_DIR)/$(LIBNAME): $(LIBNAME) |