Skip to content

Commit 2439698

Browse files
committed
build: fix again
1 parent 0104997 commit 2439698

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ CXXFLAGS += $(LTO_FLAGS) -fvisibility-inlines-hidden -fvisibility=hidden
7272

7373
all: genver fmt toml tpl getopt-port json libcufetch $(TARGET)
7474

75-
libcufetch: tpl fmt toml
75+
libcufetch: fmt tpl toml
7676
ifeq ($(wildcard $(BUILDDIR)/libcufetch.so),)
7777
$(MAKE) -C libcufetch BUILDDIR=$(BUILDDIR) GUI_APP=$(GUI_APP) CXXSTD=$(CXXSTD)
7878
endif

include/libcufetch/cufetch.hh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
#include "libcufetch/parse.hh"
88

9-
// Map from a modules name to its pointer.
10-
using moduleMap_t = std::unordered_map<std::string, const module_t&>;
11-
129
/* A linked list including module arguments. An argument may be specified for any part of the module path (e.g.
1310
* `disk(/).used(GiB)`, `test(a).hi`) */
1411
struct moduleArgs_t

libcufetch/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ SRC = $(wildcard *.cc)
1919
OBJ = $(SRC:.cc=.o) ../$(BUILDDIR)/toml.o
2020
LDLIBS := ../$(BUILDDIR)/libfmt.a ../$(BUILDDIR)/libtiny-process-library.a
2121
OUTPUT := ../$(BUILDDIR)/$(LIBNAME)
22-
CXXFLAGS += -fvisibility-inlines-hidden -fvisibility=hidden -I../include -I../include/libs -fPIC -DGUI_APP=$(GUI_APP)
22+
CXXFLAGS += -fvisibility-inlines-hidden -fvisibility=hidden -std=$(CXXSTD) -I../include -I../include/libs -fPIC -DGUI_APP=$(GUI_APP)
2323

2424
all: $(OUTPUT)
2525
@if [ "$(UNAME_S)" = "Linux" ]; then \

0 commit comments

Comments
 (0)