1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Use CFLAGS when linking so mixed sparc builds can supply -m64.

This commit is contained in:
Alasdair Kergon 2007-01-11 16:23:22 +00:00
parent fb12fd445a
commit 4594807a24
3 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,6 @@
Version 1.02.14 -
=============================
Use CFLAGS when linking so mixed sparc builds can supply -m64.
Add dm_tree_use_no_flush_suspend().
Lots of dmevent changes.
Export dm_basename().

View File

@ -34,7 +34,7 @@ LDFLAGS += -ldl -ldevmapper -lpthread
CLDFLAGS += -ldl -ldevmapper -lpthread
dmeventd: $(LIB_SHARED) dmeventd.o
$(CC) -o $@ dmeventd.o $(LDFLAGS) \
$(CC) -o $@ dmeventd.o $(CFLAGS) $(LDFLAGS) \
-L. -ldevmapper-event $(LIBS) -rdynamic
.PHONY: install_dynamic install_static install_include \

View File

@ -38,8 +38,8 @@ else
LIB_SHARED = $(interface)/libdevmapper.so
endif
CFLAGS += -DDEVICE_UID=@DEVICE_UID@ -DDEVICE_GID=@DEVICE_GID@ \
-DDEVICE_MODE=@DEVICE_MODE@
DEFS += -DDEVICE_UID=@DEVICE_UID@ -DDEVICE_GID=@DEVICE_GID@ \
-DDEVICE_MODE=@DEVICE_MODE@
include ../make.tmpl