The new printing framework does not need the math lib anymore.
So remove it from the includes and Makefiles.
*/
#include <stdio.h>
#include <string.h>
-#include <math.h>
#include <libdevmapper.h>
#include "vector.h"
#include "dmparser.h"
#include "configure.h"
#include "defaults.h"
-#include "debug.h"
#include "../libcheckers/path_state.h"
ifeq ($(strip $(BUILD)),klibc)
OBJS += $(libdm) $(libsysfs)
else
- LDFLAGS += -ldevmapper -lsysfs -lm
+ LDFLAGS += -ldevmapper -lsysfs
endif
EXEC = multipath
#
CFLAGS = -pipe -g -Wall -Wunused -Wstrict-prototypes \
-DDAEMON -I$(multipathdir) -I$(checkersdir)
-LDFLAGS = -lpthread -ldevmapper -lsysfs -lreadline -lncurses -lm
+LDFLAGS = -lpthread -ldevmapper -lsysfs -lreadline -lncurses
#
# debuging stuff