You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.5 KiB

  1. --- a/Makefile.in
  2. +++ b/Makefile.in
  3. @@ -80,7 +80,7 @@ SYSCONFIG_FILE = @SYSCONFIG_FILE@
  4. # Compiler flags
  5. CFLAGS = @CFLAGS@ -Wall -Wstrict-prototypes -pipe -O2
  6. DFLAGS = @DFLAGS@
  7. -LFLAGS = @STRIP@
  8. +LDFLAGS += @STRIP@
  9. DFLAGS += -DSA_DIR=\"$(SA_DIR)\" -DSADC_PATH=\"$(SADC_PATH)\"
  10. DFLAGS += $(DFSENSORS)
  11. DFLAGS += $(DFPCP)
  12. @@ -117,7 +117,7 @@ ifeq ($(SYSPARAM),y)
  13. DFLAGS += -DHAVE_SYS_PARAM_H
  14. endif
  15. NLS = @NLS@
  16. -LFLAGS += @LFINTL@
  17. +LDFLAGS += @LFINTL@
  18. ifeq ($(NLS),y)
  19. REQUIRE_NLS = -DUSE_NLS -DPACKAGE=\"$(PACKAGE)\" -DLOCALEDIR=\"$(NLS_DIR)\"
  20. endif
  21. @@ -195,7 +195,7 @@ NLSPOT= $(NLSPO:.po=.pot)
  22. $(CC) -o $@ -c $(CFLAGS) $(DFLAGS) $<
  23. % : %.o
  24. - $(CC) -o $@ $(CFLAGS) $^ $(LFLAGS)
  25. + $(CC) -o $@ $(CFLAGS) $^ $(LDFLAGS)
  26. all: sadc sar sadf iostat tapestat mpstat pidstat cifsiostat locales
  27. @@ -283,7 +283,7 @@ librdsensors.a: rd_sensors.o
  28. sadc.o: sadc.c sa.h version.h common.h rd_stats.h rd_sensors.h
  29. -sadc: LFLAGS += $(LFSENSORS)
  30. +sadc: LDFLAGS += $(LFSENSORS)
  31. sadc: sadc.o act_sadc.o sa_wrap.o sa_common_sadc.o common_sadc.o systest.o librdstats.a librdsensors.a
  32. @@ -293,7 +293,7 @@ sar: sar.o act_sar.o format_sar.o sa_common.o pr_stats.o librdstats_light.a libs
  33. sadf.o: sadf.c sadf.h version.h sa.h common.h rd_stats.h rd_sensors.h
  34. -sadf: LFLAGS += $(LFPCP)
  35. +sadf: LDFLAGS += $(LFPCP)
  36. sadf: sadf.o act_sadf.o format_sadf.o sadf_misc.o pcp_def_metrics.o sa_conv.o rndr_stats.o xml_stats.o json_stats.o svg_stats.o raw_stats.o pcp_stats.o sa_common.o librdstats_light.a libsyscom.a